CodeQL library for C/C++
codeql/cpp-all 0.12.8-dev (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)