Skip to content

Commit ccf268d

Browse files
committed
CPP: Autoformat.
1 parent 1867d58 commit ccf268d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

cpp/ql/src/semmle/code/cpp/dataflow/internal/TaintTrackingUtil.qll

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ private predicate exprToExprStep(Expr exprIn, Expr exprOut) {
155155
or
156156
inModel.isParameter(argInIndex) and
157157
exprIn = call.getArgument(argInIndex)
158-
) or
158+
)
159+
or
159160
inModel.isQualifierObject() and
160161
exprIn = call.getQualifier()
161162
)
@@ -175,7 +176,9 @@ private predicate exprToDefinitionByReferenceStep(Expr exprIn, Expr argOut) {
175176
)
176177
)
177178
or
178-
exists(TaintFunction f, Call call, FunctionInput inModel, FunctionOutput outModel, int argOutIndex |
179+
exists(
180+
TaintFunction f, Call call, FunctionInput inModel, FunctionOutput outModel, int argOutIndex
181+
|
179182
call.getTarget() = f and
180183
argOut = call.getArgument(argOutIndex) and
181184
outModel.isParameterDeref(argOutIndex) and
@@ -190,7 +193,8 @@ private predicate exprToDefinitionByReferenceStep(Expr exprIn, Expr argOut) {
190193
or
191194
inModel.isParameter(argInIndex) and
192195
exprIn = call.getArgument(argInIndex)
193-
) or
196+
)
197+
or
194198
inModel.isQualifierObject() and
195199
exprIn = call.getQualifier()
196200
)

0 commit comments

Comments
 (0)