File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
cpp/ql/test/library-tests/ir/ir Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ private import cpp
5
5
*
6
6
* This predicate excludes locations in standard headers.
7
7
*/
8
- predicate shouldDump ( Location loc ) {
8
+ predicate shouldDumpLocation ( Location loc ) {
9
9
not loc .getFile ( ) .getAbsolutePath ( ) .regexpMatch ( ".*/include/[^/]+" )
10
10
}
11
11
@@ -14,4 +14,4 @@ predicate shouldDump(Location loc) {
14
14
*
15
15
* This predicate excludes functions defined in standard headers.
16
16
*/
17
- predicate shouldDumpFunction ( Function func ) { shouldDump ( func .getLocation ( ) ) }
17
+ predicate shouldDumpFunction ( Function func ) { shouldDumpLocation ( func .getLocation ( ) ) }
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ private import semmle.code.cpp.ir.IR
3
3
private import PrintConfig
4
4
5
5
from Operand a
6
- where shouldDump ( a .getLocation ( ) )
6
+ where shouldDumpLocation ( a .getLocation ( ) )
7
7
select a , a .getDumpString ( )
You can’t perform that action at this time.
0 commit comments