forked from OSchip/llvm-project
Missed a place where we have to pass the source location twice to FunctionDecl::Create.
llvm-svn: 185233
This commit is contained in:
parent
bfd578dc18
commit
6843e59cda
|
@ -1748,6 +1748,7 @@ NameSearchContext::AddFunDecl (void *type)
|
||||||
clang::FunctionDecl *func_decl = FunctionDecl::Create (*m_ast_source.m_ast_context,
|
clang::FunctionDecl *func_decl = FunctionDecl::Create (*m_ast_source.m_ast_context,
|
||||||
const_cast<DeclContext*>(m_decl_context),
|
const_cast<DeclContext*>(m_decl_context),
|
||||||
SourceLocation(),
|
SourceLocation(),
|
||||||
|
SourceLocation(),
|
||||||
m_decl_name.getAsIdentifierInfo(),
|
m_decl_name.getAsIdentifierInfo(),
|
||||||
QualType::getFromOpaquePtr(type),
|
QualType::getFromOpaquePtr(type),
|
||||||
NULL,
|
NULL,
|
||||||
|
|
Loading…
Reference in New Issue