CodeQL library for C/C++
Search

Member predicate Symbol::getADependentElement

Gets an element which depends upon this symbol.

To a first approximation, dependent elements can be thought of as occurrences of the symbol’s name: instances of VariableAccess for Variable symbols, instances of MacroInvocation for Macro symbols, and so on.

category: 1 - C/C++ compile-time dependency 2 - C/C++ link-time dependency (or transitive dependency with a link-time component)

Element getADependentElement(int category)