Skip to content

Commit 4bb0bbf

Browse files
committed
Swift: Remove redundant copies.
1 parent e230951 commit 4bb0bbf

File tree

1 file changed

+0
-3
lines changed
  • swift/ql/lib/codeql/swift/frameworks/StandardLibrary

1 file changed

+0
-3
lines changed

swift/ql/lib/codeql/swift/frameworks/StandardLibrary/String.qll

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ private class StringSummaries extends SummaryModelCsv {
103103
";String;true;insert(contentsOf:at:);;;Argument[0];Argument[-1];taint",
104104
";String;true;replaceSubrange(_:with::);;;Argument[1];Argument[-1];taint",
105105
";String;true;popLast();;;Argument[-1];ReturnValue;taint",
106-
";String;true;lowercased();;;Argument[-1];ReturnValue;taint",//?
107-
";String;true;uppercased();;;Argument[-1];ReturnValue;taint",//?
108106
";String;true;first(where:);;;Argument[-1];ReturnValue;taint",
109107
";String;true;last(where:);;;Argument[-1];ReturnValue;taint",
110108
";String;true;max();;;Argument[-1];ReturnValue;taint",
@@ -118,7 +116,6 @@ private class StringSummaries extends SummaryModelCsv {
118116
";String;true;prefix(while:);;;Argument[-1];ReturnValue;taint",
119117
";String;true;suffix(_:);;;Argument[-1];ReturnValue;taint",
120118
";String;true;suffix(from:);;;Argument[-1];ReturnValue;taint",
121-
";String;true;split(separator:maxSplits:omittingEmptySubsequences:);;;Argument[-1];ReturnValue;taint",//?
122119
";String;true;split(maxSplits:omittingEmptySubsequences:whereSeparator:);;;Argument[-1];ReturnValue;taint",
123120
";String;true;randomElement();;;Argument[-1];ReturnValue;taint",
124121
";String;true;randomElement(using:);;;Argument[-1];ReturnValue;taint",

0 commit comments

Comments
 (0)