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

Member predicate CanonicalField::getAType

Gets a type that this canonical field may have. Note that this may not be a unique type. For example, consider this case:

template<typename T>
struct S { T x; };

S<int> s1;
S<char> s2;

In this case the canonical field corresponding to S::x has two types: int and char.

Type getAType()