summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangASTSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Expression/ClangASTSource.cpp')
-rw-r--r--lldb/source/Expression/ClangASTSource.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Expression/ClangASTSource.cpp b/lldb/source/Expression/ClangASTSource.cpp
index fa9d50e34b2..f3526a70f7b 100644
--- a/lldb/source/Expression/ClangASTSource.cpp
+++ b/lldb/source/Expression/ClangASTSource.cpp
@@ -159,6 +159,7 @@ NameSearchContext::AddVarDecl(void *type)
clang::NamedDecl *Decl = VarDecl::Create(m_ast_source.m_ast_context,
const_cast<DeclContext*>(m_decl_context),
SourceLocation(),
+ SourceLocation(),
ii,
QualType::getFromOpaquePtr(type),
0,
@@ -175,6 +176,7 @@ NameSearchContext::AddFunDecl (void *type)
clang::FunctionDecl *func_decl = FunctionDecl::Create (m_ast_source.m_ast_context,
const_cast<DeclContext*>(m_decl_context),
SourceLocation(),
+ SourceLocation(),
m_decl_name.getAsIdentifierInfo(),
QualType::getFromOpaquePtr(type),
NULL,
@@ -204,6 +206,7 @@ NameSearchContext::AddFunDecl (void *type)
param_var_decls[ArgIndex] = ParmVarDecl::Create (m_ast_source.m_ast_context,
const_cast<DeclContext*>(m_decl_context),
SourceLocation(),
+ SourceLocation(),
NULL,
arg_qual_type,
NULL,
OpenPOWER on IntegriCloud