[PATCH] D91229: [FileCheck] Flip -allow-unused-prefixes to false by default

James Henderson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 11 00:31:48 PST 2020


jhenderson added a subscriber: RKSimon.
jhenderson added a comment.

Maybe one way to do this is to do what @RKSimon suggests in the D90281 <https://reviews.llvm.org/D90281>, and to enable it on a per-directory basis using lit.local.cfg. That would potentially require changing the "0 or 1" occurrences limitation of the option, in favour of "last one wins" (or first one). Then, you make the change in the lit.local.cfg, flipping the default in each directory as you go. Eventually, once all tests that need it are covered, you can just change the default in FileCheck itself. How does that sound?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91229



More information about the cfe-commits mailing list