[PATCH] D68819: [Utils] Allow update_test_checks to check function arguments
    Sanjay Patel via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Nov  1 07:49:17 PDT 2019
    
    
  
spatel added a comment.
Here's a current example of the trade-off:
D59710 <https://reviews.llvm.org/D59710>
I agree that adding the 'define...' glob to the label check is an improvement, but at the same time, many of us use the scripts almost exclusively on single function regression tests (no calls)...which is probably why we never encountered the motivating problem for this change.
As I understand it, there's currently no way to disable the 'define' glob. So I either have the burden of doing separate pre-commits to update hundreds of test files or ask reviewers to look past that noise. We want to push people towards the better future, but it would be more friendly to offer this feature with an opt-out. That is, default to the new way, but let people disable the 'define' generation to update on their own terms/as needed.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68819/new/
https://reviews.llvm.org/D68819
    
    
More information about the llvm-commits
mailing list