Skip to content

Commit d4e80c6

Browse files
authored
replace shouldDump -> shouldDumpLocation
1 parent 4498657 commit d4e80c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cpp/ql/test/library-tests/ir/ir/PrintConfig.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ private import cpp
55
*
66
* This predicate excludes locations in standard headers.
77
*/
8-
predicate shouldDump(Location loc) {
8+
predicate shouldDumpLocation(Location loc) {
99
not loc.getFile().getAbsolutePath().regexpMatch(".*/include/[^/]+")
1010
}
1111

@@ -14,4 +14,4 @@ predicate shouldDump(Location loc) {
1414
*
1515
* This predicate excludes functions defined in standard headers.
1616
*/
17-
predicate shouldDumpFunction(Function func) { shouldDump(func.getLocation()) }
17+
predicate shouldDumpFunction(Function func) { shouldDumpLocation(func.getLocation()) }

cpp/ql/test/library-tests/ir/ir/operand_locations.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ private import semmle.code.cpp.ir.IR
33
private import PrintConfig
44

55
from Operand a
6-
where shouldDump(a.getLocation())
6+
where shouldDumpLocation(a.getLocation())
77
select a, a.getDumpString()

0 commit comments

Comments
 (0)