mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
Swift: Remove "to do" comment
This commit is contained in:
committed by
Paolo Tranquilli
parent
4fc5a73bac
commit
30242ed6fb
@@ -624,7 +624,7 @@ codeql::AppliedPropertyWrapperExpr ExprTranslator::translateAppliedPropertyWrapp
|
||||
codeql::RegexLiteralExpr ExprTranslator::translateRegexLiteralExpr(
|
||||
const swift::RegexLiteralExpr& expr) {
|
||||
auto entry = createExprEntry(expr);
|
||||
auto pattern = expr.getParsedRegexText(); // TODO: there is now this and getRegexToEmit
|
||||
auto pattern = expr.getParsedRegexText();
|
||||
// the pattern has enclosing '/' delimiters, we'd rather get it without
|
||||
entry.pattern = pattern.substr(1, pattern.size() - 2);
|
||||
entry.version = expr.getVersion();
|
||||
|
||||
Reference in New Issue
Block a user