mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
8 lines
233 B
Plaintext
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
|