From 1573b1b32c7b52e4c82eb281e3a89bb1bcc8b070 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 10 Mar 2013 20:13:16 +0000 Subject: [PATCH] Match the new declaration of clang::ASTContext::getFunctionType introduced in clang r176726. Fix the build of lldb llvm-svn: 176790 --- lldb/source/Expression/ClangASTSource.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lldb/source/Expression/ClangASTSource.cpp b/lldb/source/Expression/ClangASTSource.cpp index c394a8cb6f0b..3b70c32d9326 100644 --- a/lldb/source/Expression/ClangASTSource.cpp +++ b/lldb/source/Expression/ClangASTSource.cpp @@ -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(), // argument types proto_info)); return AddFunDecl(generic_function_type.getAsOpaquePtr()); -- GitLab