[PATCH] D77227: [RFC][FileCheck] Require colon immediately after CHECK directives

Joel E. Denny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 09:41:00 PDT 2020


jdenny added a comment.

In D77227#1959936 <https://reviews.llvm.org/D77227#1959936>, @probinson wrote:

> Grepping for `\bCHECK[A-Z0-9-]*\s+:` finds nothing in clang/test or llvm/test.  Is "gotcha 2" a real thing we should worry about?  If there are any cases like that, we'd catch them under the checks for "gotcha 1".


You need a backslash before that `+`.  It does match.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77227





More information about the llvm-commits mailing list