Skip to content

Commit 8bdbaf4

Browse files
committed
C++: Autoformat.
1 parent acfd593 commit 8bdbaf4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

cpp/ql/src/Security/CWE/CWE-311/CleartextTransmission.ql

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,10 @@ abstract class NetworkSendRecv extends FunctionCall {
125125
v.getInitializer().getExpr() instanceof Literal and
126126
g = globalValueNumber(v.getAnAccess())
127127
)
128-
or
128+
or
129129
// result of a function call with literal inputs (likely constant)
130130
exists(FunctionCall fc |
131-
forex(Expr arg |
132-
arg = fc.getAnArgument() |
133-
arg instanceof Literal
134-
) and
131+
forex(Expr arg | arg = fc.getAnArgument() | arg instanceof Literal) and
135132
g = globalValueNumber(fc)
136133
)
137134
// (this is far from exhaustive)

0 commit comments

Comments
 (0)