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

Module Print

Import path

import semmle.code.cpp.Print

Imports

cpp

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

Predicates

getIdentityString

Gets a string that uniquely identifies this declaration, suitable for use when debugging queries. Only holds for functions, user-defined types, global and namespace-scope variables, and member variables.

getTypeIdentityString

Gets a string that uniquely identifies this type, suitable for use when debugging queries. All typedefs and decltypes are expanded, and all symbol names are fully qualified.