Skip to content

Commit 43e6d67

Browse files
committed
M0-2-1: reformat query
1 parent 06d585f commit 43e6d67

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cpp/common/src/codingstandards/cpp/rules/donotpassaliasedpointertorestrictqualifiedparamshared/DoNotPassAliasedPointerToRestrictQualifiedParamShared.qll

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ import codingstandards.cpp.Exclusions
88

99
abstract class DoNotPassAliasedPointerToRestrictQualifiedParamSharedSharedQuery extends Query { }
1010

11-
Query getQuery() { result instanceof DoNotPassAliasedPointerToRestrictQualifiedParamSharedSharedQuery }
11+
Query getQuery() {
12+
result instanceof DoNotPassAliasedPointerToRestrictQualifiedParamSharedSharedQuery
13+
}
1214

1315
query predicate problems(Element e, string message) {
14-
not isExcluded(e, getQuery()) and message = "<replace with problem alert message for >"
15-
}
16+
not isExcluded(e, getQuery()) and message = "<replace with problem alert message for >"
17+
}

0 commit comments

Comments
 (0)