r374488 - Include whether the destructor is constexpr in -ast-dump output for a
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 10 17:40:09 PDT 2019
Author: rsmith
Date: Thu Oct 10 17:40:08 2019
New Revision: 374488
URL: http://llvm.org/viewvc/llvm-project?rev=374488&view=rev
Log:
Include whether the destructor is constexpr in -ast-dump output for a
clss.
Modified:
cfe/trunk/lib/AST/TextNodeDumper.cpp
Modified: cfe/trunk/lib/AST/TextNodeDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/TextNodeDumper.cpp?rev=374488&r1=374487&r2=374488&view=diff
==============================================================================
--- cfe/trunk/lib/AST/TextNodeDumper.cpp (original)
+++ cfe/trunk/lib/AST/TextNodeDumper.cpp Thu Oct 10 17:40:08 2019
@@ -1643,6 +1643,7 @@ void TextNodeDumper::VisitCXXRecordDecl(
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())
More information about the cfe-commits
mailing list