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

Member predicate Expr::getUnderlyingType

Gets the type of this expression after typedefs have been resolved.

In most cases, this predicate will be the same as getType(). It will only differ when the result of getType() is a TypedefType, in which case this predicate will (possibly recursively) resolve the typedef.

Type getUnderlyingType()