Skip to content

Commit 1274393

Browse files
committed
Swift: Remove 'cached' annotations.
1 parent 0bd522a commit 1274393

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

swift/ql/lib/codeql/swift/security/SensitiveExprs.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ private string regexpProbablySafe() {
8888
/**
8989
* Gets a string that is to be tested for sensitivity.
9090
*/
91-
cached
9291
private string sensitiveCandidateStrings() {
9392
result = any(VarDecl v).getName()
9493
or
@@ -100,7 +99,6 @@ private string sensitiveCandidateStrings() {
10099
/**
101100
* Gets a string from the candidates that is sensitive.
102101
*/
103-
cached
104102
private string sensitiveStrings(SensitiveDataType sensitiveType) {
105103
result = sensitiveCandidateStrings() and
106104
result.regexpMatch(sensitiveType.getRegexp())

0 commit comments

Comments
 (0)