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

Class LinkTarget

A linker call during the build process, typically resulting in an executable or a shared library.

Note that if linkage information isn’t captured as part of the snapshot, then everything is grouped together into a single dummy link target.

Import path

import cpp

Direct supertypes

Predicates

getAClass

Gets a class which had its declaration included by one of the translation units which contributed to this link target.

getAFunction

Gets a function which was compiled into this link target, or had its declaration included by one of the translation units which contributed to this link target.

getAGlobalOrNamespaceVariable

Gets a global or namespace variable which was compiled into this link target, or had its declaration included by one of the translation units which contributed to this link target.

getBinary

Gets the file which was built.

isDummy

Holds if this is the dummy link target: if linkage information isn’t captured as part of the snapshot, then everything is grouped together into a single dummy link target.

toString

Gets a textual representation of this element.