Skip to content

Commit 30242ed

Browse files
jketemaPaolo Tranquilli
authored andcommitted
Swift: Remove "to do" comment
1 parent 4fc5a73 commit 30242ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/extractor/translators/ExprTranslator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ codeql::AppliedPropertyWrapperExpr ExprTranslator::translateAppliedPropertyWrapp
624624
codeql::RegexLiteralExpr ExprTranslator::translateRegexLiteralExpr(
625625
const swift::RegexLiteralExpr& expr) {
626626
auto entry = createExprEntry(expr);
627-
auto pattern = expr.getParsedRegexText(); // TODO: there is now this and getRegexToEmit
627+
auto pattern = expr.getParsedRegexText();
628628
// the pattern has enclosing '/' delimiters, we'd rather get it without
629629
entry.pattern = pattern.substr(1, pattern.size() - 2);
630630
entry.version = expr.getVersion();

0 commit comments

Comments
 (0)