Missed a place where we have to pass the source location twice to FunctionDecl::Create.

llvm-svn: 185233
This commit is contained in:
Jim Ingham 2013-06-28 22:21:22 +00:00
parent bfd578dc18
commit 6843e59cda
1 changed files with 1 additions and 0 deletions

View File

@ -1748,6 +1748,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,