We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9a6a8b commit 1a86c1eCopy full SHA for 1a86c1e
lib/Parse/Lexer.cpp
@@ -2081,9 +2081,6 @@ bool Lexer::tryLexRegexLiteral(const char *TokStart) {
2081
}
2082
2083
void Lexer::tryLexForwardSlashRegexLiteralFrom(State S, bool mustBeRegex) {
2084
- if (!LangOpts.EnableBareSlashRegexLiterals)
2085
- return;
2086
-
2087
// Try re-lex with forward slash enabled.
2088
llvm::SaveAndRestore<LexerForwardSlashRegexMode> RegexLexingScope(
2089
ForwardSlashRegexMode, mustBeRegex
0 commit comments