forked from OSchip/llvm-project
[docs][FileCheck] Fix invalid example
Summary: FileCheck documentation contains an example of a numeric variable defined and used on the same line. This is not currently supported by FileCheck so this commit fixes the example to use CHECK-SAME for the variable use. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D79253
This commit is contained in:
parent
6d103ca855
commit
0b85ea8533
|
@ -634,7 +634,8 @@ For example:
|
|||
|
||||
; CHECK: load r[[#REG:]], [r0]
|
||||
; CHECK: load r[[#REG+1]], [r1]
|
||||
; CHECK: Loading from 0x[[#%x,ADDR:] to 0x[[#ADDR + 7]]
|
||||
; CHECK: Loading from 0x[[#%x,ADDR:]]
|
||||
; CHECK-SAME: to 0x[[#ADDR + 7]]
|
||||
|
||||
The above example would match the text:
|
||||
|
||||
|
|
Loading…
Reference in New Issue