CodeQL library for C/C++
codeql/cpp-all 0.4.4 (changelog, source)
Search

Predicate macroLocation

Holds if l is the location of a macro.

Import path

import cpp
predicate macroLocation(Location l)