Skip to content

Commit 611d955

Browse files
committed
C++: Fix formatting
1 parent 130911a commit 611d955

File tree

1 file changed

+3
-7
lines changed
  • cpp/ql/test/library-tests/dataflow/DefaultTaintTracking

1 file changed

+3
-7
lines changed

cpp/ql/test/library-tests/dataflow/DefaultTaintTracking/test_diff.ql

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@ import semmle.code.cpp.security.Security
33
import semmle.code.cpp.security.TaintTracking as ASTTaintTracking
44
import semmle.code.cpp.ir.dataflow.DefaultTaintTracking as IRDefaultTaintTracking
55

6-
predicate astFlow(Expr source, Element sink) {
7-
ASTTaintTracking::tainted(source, sink)
8-
}
6+
predicate astFlow(Expr source, Element sink) { ASTTaintTracking::tainted(source, sink) }
97

10-
predicate irFlow(Expr source, Element sink) {
11-
IRDefaultTaintTracking::tainted(source, sink)
12-
}
8+
predicate irFlow(Expr source, Element sink) { IRDefaultTaintTracking::tainted(source, sink) }
139

1410
from Expr source, Element sink, string note
1511
where
@@ -20,4 +16,4 @@ where
2016
irFlow(source, sink) and
2117
not astFlow(source, sink) and
2218
note = "IR only"
23-
select source, sink, note
19+
select source, sink, note

0 commit comments

Comments
 (0)