Thanks to visit codestin.com Credit goes to github.com
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.
2 parents a0e5f4b + 15995f4 commit afcd9c2Copy full SHA for afcd9c2
lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp
@@ -1371,8 +1371,9 @@ static llvm::Expected<ParsedExpression> ParseAndImport(
1371
1372
bool enable_bare_slash_regex_literals =
1373
sc.target_sp->GetSwiftEnableBareSlashRegex();
1374
- invocation.getLangOptions().EnableBareSlashRegexLiterals =
1375
- enable_bare_slash_regex_literals;
+ if (enable_bare_slash_regex_literals) {
+ invocation.getLangOptions().enableFeature(swift::Feature::BareSlashRegexLiterals);
1376
+ }
1377
1378
auto should_use_prestable_abi = [&]() {
1379
lldb::StackFrameSP this_frame_sp(stack_frame_wp.lock());
0 commit comments