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

Member predicate StructLikeClass::getAGetter

Gets a getter function in this class, getting the given variable. This is a function whose name begins “get”… that reads this variable and no other member variable of the class. In addition, its return type is the type of the corresponding member variable.

MemberFunction getAGetter(MemberVariable v)