[PATCH] D80584: [utils] change update_test_checks.py use of 'TMP' value names

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 1 07:28:23 PDT 2020


jdoerfert added a comment.

First, I think the warning is strictly a good thing. Thanks for keeping that in!

I don't think the options are really "complexity to the user" given a sensible default (= the old value). If a user sees a warning that says: `Name conflict, use --nameless-prefix=XXXXX, where XXXXX is a string not otherwise used in your IR`, they will happily do so. The UTC_ARGS extension makes it permanent and no one needs to worry about this until they see a warning again. (If we can "hide" the option from the help message, I'm fine with that too.)

Adding a test is just something we should do as it is easy to accidentally break functionality like the warning.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80584





More information about the cfe-commits mailing list