================

----------------
tarunprabhu wrote:

Instead of duplicating the fc1 check, you could do something like this:

```
RUN: ... | FileCheck %s --check-prefixes=FC1,OTHER

FC1: "-fc1"
OTHER-SAME: "<to-be-checked>"

IIUC, `-SAME` checks that the match is on the same line as the previous match, 
even if the previous match was against a different prefix.
```



https://github.com/llvm/llvm-project/pull/216650
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to