Skip to content

Commit 3cd08bc

Browse files
committed
C++: autoformat Printf.qll
1 parent fe1f987 commit 3cd08bc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cpp/ql/lib/semmle/code/cpp/commons/Printf.qll

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,12 @@ class FormattingFunctionCall extends Expr {
261261
* is, this call behaves like `sprintf`)
262262
*/
263263
Expr getOutputArgument(boolean isStream) {
264-
result = this.(Call).getArgument(this.(Call).getTarget().(FormattingFunction).getOutputParameterIndex(isStream))
264+
result =
265+
this.(Call)
266+
.getArgument(this.(Call)
267+
.getTarget()
268+
.(FormattingFunction)
269+
.getOutputParameterIndex(isStream))
265270
}
266271
}
267272

0 commit comments

Comments
 (0)