[Lldb-commits] [lldb] r185233 - Missed a place where we have to pass the source location twice to FunctionDecl::Create.
Jim Ingham
jingham at apple.com
Fri Jun 28 15:21:22 PDT 2013
Author: jingham
Date: Fri Jun 28 17:21:22 2013
New Revision: 185233
URL: http://llvm.org/viewvc/llvm-project?rev=185233&view=rev
Log:
Missed a place where we have to pass the source location twice to FunctionDecl::Create.
Modified:
lldb/trunk/source/Expression/ClangASTSource.cpp
Modified: lldb/trunk/source/Expression/ClangASTSource.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangASTSource.cpp?rev=185233&r1=185232&r2=185233&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangASTSource.cpp (original)
+++ lldb/trunk/source/Expression/ClangASTSource.cpp Fri Jun 28 17:21:22 2013
@@ -1748,6 +1748,7 @@ NameSearchContext::AddFunDecl (void *typ
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,
More information about the lldb-commits
mailing list