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

Predicate setter

Holds if f is a setter member function for v, in class c. See StructLikeClass.getASetter.

Import path

import cpp
predicate setter(MemberVariable v, MemberFunction f, Class c)