[Lldb-commits] [lldb] r176790 - Match the new declaration of clang::ASTContext::getFunctionType introduced in clang r176726. Fix the build of lldb
Sylvestre Ledru
sylvestre at debian.org
Sun Mar 10 13:13:16 PDT 2013
Author: sylvestre
Date: Sun Mar 10 15:13:16 2013
New Revision: 176790
URL: http://llvm.org/viewvc/llvm-project?rev=176790&view=rev
Log:
Match the new declaration of clang::ASTContext::getFunctionType introduced in clang r176726. Fix the build of lldb
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=176790&r1=176789&r2=176790&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangASTSource.cpp (original)
+++ lldb/trunk/source/Expression/ClangASTSource.cpp Sun Mar 10 15:13:16 2013
@@ -1792,8 +1792,7 @@ NameSearchContext::AddGenericFunDecl()
proto_info.Variadic = true;
QualType generic_function_type(m_ast_source.m_ast_context->getFunctionType (m_ast_source.m_ast_context->UnknownAnyTy, // result
- NULL, // argument types
- 0, // number of arguments
+ ArrayRef<QualType>(), // argument types
proto_info));
return AddFunDecl(generic_function_type.getAsOpaquePtr());
More information about the lldb-commits
mailing list