diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index d0f7c989ae10..244ac8ce5ff8 100644 --- a/lldb/source/Symbol/ClangASTContext.cpp +++ b/lldb/source/Symbol/ClangASTContext.cpp @@ -8459,7 +8459,8 @@ bool ClangASTContext::AddObjCClassProperty( if (getter) { if (metadata) ClangASTContext::SetMetadata(clang_ast, getter, *metadata); - getter->setMethodParams(*clang_ast, + + getter->setMethodParams(*clang_ast, llvm::ArrayRef(), llvm::ArrayRef()); class_interface_decl->addDecl(getter); @@ -8495,7 +8496,6 @@ bool ClangASTContext::AddObjCClassProperty( ClangASTContext::SetMetadata(clang_ast, setter, *metadata); llvm::SmallVector params; - params.push_back(clang::ParmVarDecl::Create( *clang_ast, setter, clang::SourceLocation(), clang::SourceLocation(), nullptr, // anonymous