[PATCH] D85305: [SyntaxTree] Remove dead code on dump functions

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 5 09:02:54 PDT 2020


gribozavr2 added a comment.

> Node::dumpTokens was never used.

I think it is because it was meant to be a debugger-only helper. I think we should keep it. However, simplifying `static void dumpTokens` to only take one token instead of `ArrayRef` makes sense!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85305



More information about the cfe-commits mailing list