mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
C++: fix a nit
This commit is contained in:
@@ -15,7 +15,7 @@ predicate locationIsInStandardHeaders(Location loc) {
|
||||
predicate shouldDumpFunction(Declaration decl) {
|
||||
not locationIsInStandardHeaders(decl.getLocation()) and
|
||||
(
|
||||
not decl instanceof Variable
|
||||
decl instanceof Function
|
||||
or
|
||||
decl.(GlobalOrNamespaceVariable).hasInitializer()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user