This patch adds opportunity to use quantifiers for CHECK and CHECK-NEXT directives.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This patch brings up a number of questions:
- What's your use case? Optimizing tests by replacing a known number of check lines with repeated patterns? Or is the number of patterns you expect not known in advance?
- Are there possible usages of this feature in LLVM tests already?
- How is this going to interact with [[@LINE]]?
This comment was removed by eklepilkina.
Comment Actions
Both first and second case.
- Are there possible usages of this feature in LLVM tests already?
I don't know LLVM tests well to answer this question.
- How is this going to interact with [[@LINE]]?
I used FileCheck Match function in loop, so it will be real LINE value. I don't change matching.