C++: fix a nit

This commit is contained in:
Robert Marsh
2022-08-01 15:34:03 -04:00
parent f0697ff28b
commit 3007c96c72

View File

@@ -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()
)