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

Member predicate Class::hasPrivateBaseClass

Holds if this class/struct has a private class derivation, for example the private B in the following code:

class D : private B {
  ...
};
predicate hasPrivateBaseClass(Class base)