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

Member predicate Class :: getAMemberVariable

Gets a member variable declared in this class, struct or union. For template member variables, results include both the template and the instantiations of that template. If you only want the template, then use getACanonicalMemberVariable() instead.

MemberVariable getAMemberVariable ( )