Skip to content

Commit 68040b7

Browse files
author
Robert Marsh
committed
C++: autoformat
1 parent 275d752 commit 68040b7

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
import semmle.code.cpp.ir.dataflow.DefaultTaintTracking
22

33
class SourceConfiguration extends TaintedWithPath::TaintTrackingConfiguration {
4-
override predicate isSink(Element e) {
5-
any()
6-
}
4+
override predicate isSink(Element e) { any() }
75
}
86

97
from Expr source, Element tainted
108
where
119
TaintedWithPath::taintedWithPath(source, tainted, _, _) and
1210
not tainted.getLocation().getFile().getExtension() = "h"
13-
select source, tainted
11+
select source, tainted

0 commit comments

Comments
 (0)