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

Module definitions

Provides classes and predicates related to jump-to-definition links in the code viewer.

Import path

import definitions

Imports

IDEContextual

Provides shared predicates related to contextual queries in the code viewer.

cpp

Provides classes and predicates for working with C/C++ code.

Predicates

definitionOf

Gets an element, of kind kind, that element e uses, if any. Attention: This predicate yields multiple definitions for a single location.

hasLocationInfo_Include

An Include with a hasLocationInfo predicate.

interestingElement

Holds if e is a source or a target of jump-to-definition.

Classes

Top

Any element that might be the source or target of a jump-to-definition link.