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

Predicate 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.

This operation is very expensive, and should not be used in production queries.

Import path

import semmle.code.cpp.Print
string getTypeIdentityString(Type type)