From 63835f3ac7672a6f1c32109f303a849b6c044b39 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 11 Oct 2019 00:40:08 +0000 Subject: [PATCH] Include whether the destructor is constexpr in -ast-dump output for a clss. llvm-svn: 374488 --- clang/lib/AST/TextNodeDumper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/lib/AST/TextNodeDumper.cpp b/clang/lib/AST/TextNodeDumper.cpp index 9b76652277c9..63a6510324f7 100644 --- a/clang/lib/AST/TextNodeDumper.cpp +++ b/clang/lib/AST/TextNodeDumper.cpp @@ -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())