diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2013-03-10 20:13:16 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2013-03-10 20:13:16 +0000 |
commit | 1573b1b32c7b52e4c82eb281e3a89bb1bcc8b070 (patch) | |
tree | 958d7902062ee6cd927cfc767add348e9f1c6ff6 /lldb/source/Expression | |
parent | a3c9ba364e4c80ec73a7134519748c914314e8b6 (diff) | |
download | bcm5719-llvm-1573b1b32c7b52e4c82eb281e3a89bb1bcc8b070.tar.gz bcm5719-llvm-1573b1b32c7b52e4c82eb281e3a89bb1bcc8b070.zip |
Match the new declaration of clang::ASTContext::getFunctionType introduced in clang r176726. Fix the build of lldb
llvm-svn: 176790
Diffstat (limited to 'lldb/source/Expression')
-rw-r--r-- | lldb/source/Expression/ClangASTSource.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Expression/ClangASTSource.cpp b/lldb/source/Expression/ClangASTSource.cpp index c394a8cb6f0..3b70c32d932 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<QualType>(), // argument types proto_info)); return AddFunDecl(generic_function_type.getAsOpaquePtr()); |