summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ASTResultSynthesizer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Expression/ASTResultSynthesizer.cpp')
-rw-r--r--lldb/source/Expression/ASTResultSynthesizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/ASTResultSynthesizer.cpp b/lldb/source/Expression/ASTResultSynthesizer.cpp
index 0cdcf2a110d..8fe605f3e01 100644
--- a/lldb/source/Expression/ASTResultSynthesizer.cpp
+++ b/lldb/source/Expression/ASTResultSynthesizer.cpp
@@ -70,7 +70,7 @@ ASTResultSynthesizer::TransformTopLevelDecl(Decl* D)
if (m_ast_context &&
function_decl &&
- !function_decl->getNameInfo().getAsString().compare("___clang_expr"))
+ !function_decl->getNameInfo().getAsString().compare("$__lldb_expr"))
{
SynthesizeResult(function_decl);
}
@@ -164,7 +164,7 @@ ASTResultSynthesizer::SynthesizeResult (FunctionDecl *FunDecl)
log->Printf("Last statement's type: %s", s.c_str());
}
- IdentifierInfo &result_id = Ctx.Idents.get("___clang_expr_result");
+ IdentifierInfo &result_id = Ctx.Idents.get("$__lldb_expr_result");
clang::VarDecl *result_decl = VarDecl::Create(Ctx,
function_decl,
OpenPOWER on IntegriCloud