CodeQL queries 1.25
Skip to end of metadata
Go to start of metadata

Finds variables with a `volatile` modifier

import cpp

from Variable f
where f.isVolatile()
select f