Skip to content

Commit 11587c9

Browse files
committed
C++: Autoformat.
1 parent 09b5fb6 commit 11587c9

File tree

1 file changed

+2
-6
lines changed
  • cpp/ql/src/semmle/code/cpp/models/implementations

1 file changed

+2
-6
lines changed

cpp/ql/src/semmle/code/cpp/models/implementations/StdMap.qll

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ class StdMapAt extends TaintFunction {
7878
* The standard map `find` function.
7979
*/
8080
class StdMapFind extends TaintFunction {
81-
StdMapFind() {
82-
this.hasQualifiedName("std", ["map", "unordered_map"], "find")
83-
}
81+
StdMapFind() { this.hasQualifiedName("std", ["map", "unordered_map"], "find") }
8482

8583
override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) {
8684
input.isQualifierObject() and
@@ -92,9 +90,7 @@ class StdMapFind extends TaintFunction {
9290
* The standard map `erase` function.
9391
*/
9492
class StdMapErase extends TaintFunction {
95-
StdMapErase() {
96-
this.hasQualifiedName("std", ["map", "unordered_map"], "erase")
97-
}
93+
StdMapErase() { this.hasQualifiedName("std", ["map", "unordered_map"], "erase") }
9894

9995
override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) {
10096
// flow from qualifier to iterator return value

0 commit comments

Comments
 (0)