Skip to content

Commit 679b0f9

Browse files
committed
C++: Autoformat.
1 parent 89098f5 commit 679b0f9

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

cpp/ql/lib/semmle/code/cpp/models/implementations/Recv.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,5 @@ private class Recv extends AliasFunction, ArrayFunction, SideEffectFunction,
8686
description = "Buffer read by " + this.getName()
8787
}
8888

89-
override predicate hasSocketInput(FunctionInput input) {
90-
input.isParameter(0)
91-
}
89+
override predicate hasSocketInput(FunctionInput input) { input.isParameter(0) }
9290
}

cpp/ql/lib/semmle/code/cpp/models/implementations/Send.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,5 @@ private class Send extends AliasFunction, ArrayFunction, SideEffectFunction, Rem
6161
input.isParameterDeref(1) and description = "Buffer sent by " + this.getName()
6262
}
6363

64-
override predicate hasSocketInput(FunctionInput input) {
65-
input.isParameter(0)
66-
}
64+
override predicate hasSocketInput(FunctionInput input) { input.isParameter(0) }
6765
}

0 commit comments

Comments
 (0)