[clang] [Clang] [C++26] Implement P2573R2: `= delete("should have a reason");` (PR #86526)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 10 10:20:56 PDT 2024


================
@@ -1936,6 +1936,9 @@ void TextNodeDumper::VisitFunctionDecl(const FunctionDecl *D) {
   if (D->isTrivial())
     OS << " trivial";
 
+  if (const StringLiteral *M = D->getDeletedMessage())
----------------
AaronBallman wrote:

You should do similar in JSONNodeDumper.cpp as well.

https://github.com/llvm/llvm-project/pull/86526


More information about the cfe-commits mailing list