Match the new declaration of clang::ASTContext::getFunctionType introduced in clang r176726. Fix the build of lldb

llvm-svn: 176790
This commit is contained in:
Sylvestre Ledru 2013-03-10 20:13:16 +00:00
parent a3c9ba364e
commit 1573b1b32c
1 changed files with 1 additions and 2 deletions

View File

@ -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());