Include whether the destructor is constexpr in -ast-dump output for a

clss.

llvm-svn: 374488
This commit is contained in:
Richard Smith 2019-10-11 00:40:08 +00:00
parent b560fd6c52
commit 63835f3ac7
1 changed files with 1 additions and 0 deletions

View File

@ -1643,6 +1643,7 @@ void TextNodeDumper::VisitCXXRecordDecl(const CXXRecordDecl *D) {
FLAG(hasTrivialDestructor, trivial);
FLAG(hasNonTrivialDestructor, non_trivial);
FLAG(hasUserDeclaredDestructor, user_declared);
FLAG(hasConstexprDestructor, constexpr);
FLAG(needsImplicitDestructor, needs_implicit);
FLAG(needsOverloadResolutionForDestructor, needs_overload_resolution);
if (!D->needsOverloadResolutionForDestructor())