[PATCH] D141570: [clang] Add no-argument dump to DynTypedNode

Chris Cotter via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 11 23:48:33 PST 2023


ccotter added a comment.

I usually use `dump()` when authoring/debugging clang-tidy or similar checks. I don't always have ASTContext handy when working with a DynTypedNode (without temporarily changing my call stack to pass the ASTContext around for the purposes of `dump`).

I put up this as a way of asking whether this kind of change would be considered (just as easy to code this up as ask in Discord etc). Thoughts?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141570



More information about the cfe-commits mailing list