Files
codeql/cpp/ql/test/library-tests/access/noPublic/noPublic.ql
2021-10-13 16:12:36 +01:00

8 lines
233 B
Plaintext

import cpp
from AccessSpecifier spec
// There is no way to create "protected" access without writing the keyword
// `protected` in the source, so we don't need to test for that.
where spec.hasName(["private", "public"])
select spec