[PATCH] D68061: [docs] Document pattern of using CHECK-SAME to skip irrelevant lines
    Paul Robinson via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Mar  5 11:32:18 PST 2020
    
    
  
probinson added inline comments.
================
Comment at: llvm/docs/CommandGuide/FileCheck.rst:333
+   CHECK:      Value:
+   CHECK-SAME:        1{{$}}
+
----------------
thopre wrote:
> probinson wrote:
> > This will also match `Value: 21` so it is not equivalent to 
> > `CHECK: Value: 1{{$}}`
> True, could this dealt by using CHECK: Value: {{ 1$}}?
Yes, that would work.  Nice to have smart people around. :-)
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68061/new/
https://reviews.llvm.org/D68061
    
    
More information about the llvm-commits
mailing list