[PATCH] D133499: [clang]: Add DeclContext::dumpAsDecl().

Tom Honermann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 1 04:39:16 PDT 2022


tahonermann updated this revision to Diff 464487.
tahonermann retitled this revision from "[clang]: Add DeclContext::dumpDecl() in order to conveniently dump an AST from a DeclContext." to "[clang]: Add DeclContext::dumpAsDecl().".
tahonermann edited the summary of this revision.
tahonermann added a comment.

Addressed review feedback; when presented with an invalid `DeclContext`, output will not be produced that explains why it is invalid.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133499/new/

https://reviews.llvm.org/D133499

Files:
  clang/include/clang/AST/ASTDumper.h
  clang/include/clang/AST/DeclBase.h
  clang/lib/AST/ASTDumper.cpp
  clang/lib/AST/DeclBase.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133499.464487.patch
Type: text/x-patch
Size: 5071 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221001/7ec9890c/attachment.bin>


More information about the cfe-commits mailing list