[lldb] Fix LLDB build after r372538
authorRaphael Isemann <teemperor@gmail.com>
Mon, 23 Sep 2019 06:59:35 +0000 (06:59 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Mon, 23 Sep 2019 06:59:35 +0000 (06:59 +0000)
llvm-svn: 372548

lldb/source/Symbol/ClangASTContext.cpp

index 7a2f81a..a80a9c7 100644 (file)
@@ -8229,7 +8229,8 @@ clang::CXXMethodDecl *ClangASTContext::AddMethodToCXXRecordType(
             getASTContext()->DeclarationNames.getCXXDestructorName(
                 getASTContext()->getCanonicalType(record_qual_type)),
             clang::SourceLocation()),
-        method_qual_type, nullptr, is_inline, is_artificial);
+        method_qual_type, nullptr, is_inline, is_artificial,
+          ConstexprSpecKind::CSK_unspecified);
     cxx_method_decl = cxx_dtor_decl;
   } else if (decl_name == cxx_record_decl->getDeclName()) {
     cxx_ctor_decl = clang::CXXConstructorDecl::Create(