mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
10 lines
327 B
Plaintext
10 lines
327 B
Plaintext
import cpp
|
|
|
|
from Class base, Class derived, AccessSpecifier public
|
|
where public.hasName("public")
|
|
and // filter out compiler-generated junk
|
|
not derived.getNamespace() instanceof GlobalNamespace
|
|
select derived.getQualifiedName(),
|
|
base.getQualifiedName(),
|
|
derived.accessOfBaseMember(base, public).getName()
|