[PATCH] D71709: Give frontend dump flags consistent names (*-dump instead of dump-*)

Brian Gesiak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 19 10:32:57 PST 2019


modocache requested changes to this revision.
modocache added subscribers: jroelofs, echristo.
modocache added a comment.
This revision now requires changes to proceed.

Grepping for "dump-tokens", I can see one regression test that exercises this option: clang/test/Lexer/dollar-idents.c. "dump-coverage-mapping" also shows up in a few regression tests. One way to exercise the new option names is to modify these tests to use both the new and old option names. I think this would test that they can be used interchangeably.

As for the unit tests in llvm/unittests or clang/unittests, I agree, I don't think this diff requires any new tests in there.

I'll request changes on this diff because some `switch` statements in Clang need to be updated to handle the new option names. Also I'll suggest some additional reviewers: @jroelofs (who suggested we create aliases for these), and @echristo (because these options were last modified over 7 years ago and Eric has a long tenure in this codebase).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71709





More information about the cfe-commits mailing list