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

Member predicate DerivedType::getBaseType

Gets the base type of this derived type.

This predicate strips off one level of decoration from a type. For example, it returns char* for the PointerType char**, const int for the ReferenceType const int&, and long for the SpecifiedType volatile long.

Type getBaseType()