[PATCH] D91761: [FileCheck] Add check modifier capability

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 11 06:48:58 PST 2020


jhenderson added a comment.

No more comments from me at this time, but as before, I'd prefer others to confirm they're happy with the concept.



================
Comment at: llvm/test/FileCheck/check-literal.txt:46
+; INVALID{BADMODIFIER}: 6371, 6372,
+; CHECK-INVALID: no check strings found with prefix 'BADMODIFIER
+
----------------
jpienaar wrote:
> jhenderson wrote:
> > jhenderson wrote:
> > > Should this be `'INVALID'`?
> > Any reason, you're not testing the closing `'`?
> Yes, as it ends with :' which I feel could be improved (either by just dropping the : or also adding a regex for modifiers as optional there, preference towards the former at the moment). So wanted to just rest the essential part here and have the update of error message in follow up as it could affect more tests (e.g., make this and it more directed changes).
Thanks for the explanation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91761



More information about the llvm-commits mailing list