forked from OSchip/llvm-project
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:
parent
a3c9ba364e
commit
1573b1b32c
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue