Skip to content

Commit 6907637

Browse files
git apple-llvm automergerian-twilightcoder
authored andcommitted
[cherry-pick stable/20230725] [lldb] Fix failures when evaluating C++ expression and loading modules
rdar://105819340
1 parent 0455949 commit 6907637

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ ClangExpressionParser::ClangExpressionParser(
576576
lang_opts.GNUMode = true;
577577
lang_opts.GNUKeywords = true;
578578
lang_opts.CPlusPlus11 = true;
579+
lang_opts.BuiltinHeadersInSystemModules = true;
579580

580581
// The Darwin libc expects this macro to be set.
581582
lang_opts.GNUCVersion = 40201;

0 commit comments

Comments
 (0)