CodeQL library for C/C++

Member predicate Element::fromSource

Holds if this element may be from source.

Note: this predicate is provided for consistency with the libraries for other languages, such as Java and Python. In C++, all files are classified as source files, so this predicate is always true.

predicate fromSource()