CodeQL library for C/C++
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)