Skip to content

Commit 6727069

Browse files
committed
C++: Autoformat.
1 parent d1b6871 commit 6727069

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,15 +168,11 @@ class NetworkRecv extends NetworkSendRecv {
168168
override Recv target;
169169
}
170170

171-
predicate encryptionFunction(Function f)
172-
{
173-
f.getName()
174-
.toLowerCase()
175-
.regexpMatch(".*(crypt|encode|decode|hash|securezero).*")
171+
predicate encryptionFunction(Function f) {
172+
f.getName().toLowerCase().regexpMatch(".*(crypt|encode|decode|hash|securezero).*")
176173
}
177174

178-
predicate encryptionType(UserType t)
179-
{
175+
predicate encryptionType(UserType t) {
180176
t.getName().toLowerCase().regexpMatch(".*(crypt|encode|decode|hash|securezero).*")
181177
}
182178

0 commit comments

Comments
 (0)