summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Expression')
-rw-r--r--lldb/source/Expression/ClangASTSource.cpp3
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());
OpenPOWER on IntegriCloud