mirror of
https://github.com/github/codeql.git
synced 2026-03-26 17:28:29 +01:00
8 lines
247 B
Plaintext
8 lines
247 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") or spec.hasName("public")
|
|
select spec
|