From 6843e59cda0918005d345e4c0a5af98d51d9fa01 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Fri, 28 Jun 2013 22:21:22 +0000 Subject: [PATCH] Missed a place where we have to pass the source location twice to FunctionDecl::Create. llvm-svn: 185233 --- lldb/source/Expression/ClangASTSource.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/source/Expression/ClangASTSource.cpp b/lldb/source/Expression/ClangASTSource.cpp index b7904c5e1ace..0fc3db61b8bb 100644 --- a/lldb/source/Expression/ClangASTSource.cpp +++ b/lldb/source/Expression/ClangASTSource.cpp @@ -1748,6 +1748,7 @@ NameSearchContext::AddFunDecl (void *type) clang::FunctionDecl *func_decl = FunctionDecl::Create (*m_ast_source.m_ast_context, const_cast(m_decl_context), SourceLocation(), + SourceLocation(), m_decl_name.getAsIdentifierInfo(), QualType::getFromOpaquePtr(type), NULL,