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

via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 10 10:52:22 PDT 2024


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

Thanks for pointing that out; it’s sometimes hard to keep track of all the places where something needs to be changed...

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


More information about the cfe-commits mailing list