summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/include/lldb/Symbol/ClangASTContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/include/lldb/Symbol/ClangASTContext.h b/lldb/include/lldb/Symbol/ClangASTContext.h
index e92e24cf064..ad4d1d0d984 100644
--- a/lldb/include/lldb/Symbol/ClangASTContext.h
+++ b/lldb/include/lldb/Symbol/ClangASTContext.h
@@ -170,7 +170,7 @@ public:
const char *name,
void *method_type)
{
- return ClangASTContext::AddMethodToCXXRecordType(ast_context,
+ return ClangASTContext::AddMethodToCXXRecordType(m_ast_context_ap.get(),
record_clang_type,
name,
method_type);
OpenPOWER on IntegriCloud