forked from OSchip/llvm-project
Use {LITERAL} instead of regex escaping in some lit tests. NFC.
This commit is contained in:
parent
3dc858f984
commit
013116cd70
|
@ -7,7 +7,7 @@
|
|||
// CHECK: --- Defs ---
|
||||
|
||||
// CHECK: def C0 {
|
||||
// CHECK: list<list<int>> ret = {{\[}}[1, 2, 3], [1, 2, 3]];
|
||||
// CHECK{LITERAL}: list<list<int>> ret = [[1, 2, 3], [1, 2, 3]];
|
||||
// CHECK: }
|
||||
|
||||
// The variable name 'a' is used both in the "inner" and in the "outer" foreach.
|
||||
|
|
|
@ -11,16 +11,16 @@
|
|||
# Testing with a default lower bound of 0 and the following explicit bounds:
|
||||
# lower_bound(1)
|
||||
# CHECK-NOT: {{.}}
|
||||
# CHECK-SAME: {{\[}}[1, ?)]
|
||||
# CHECK-SAME{LITERAL}: [[1, ?)]
|
||||
# upper_bound(2)
|
||||
# CHECK-NOT: {{.}}
|
||||
# CHECK-SAME: [3]
|
||||
# lower(1) and upper(2)
|
||||
# CHECK-NOT: {{.}}
|
||||
# CHECK-SAME: {{\[}}[1, 3)]
|
||||
# CHECK-SAME{LITERAL}: [[1, 3)]
|
||||
# lower(1) and count(3)
|
||||
# CHECK-NOT: {{.}}
|
||||
# CHECK-SAME: {{\[}}[1, 4)]
|
||||
# CHECK-SAME{LITERAL}: [[1, 4)]
|
||||
# lower(0) and count(4) - testing that the lower bound matching language
|
||||
# default is not rendered
|
||||
# CHECK-NOT: {{.}}
|
||||
|
@ -29,7 +29,7 @@
|
|||
# CHECK-SAME: [2]
|
||||
# no attributes
|
||||
# CHECK-NOT: {{.}}
|
||||
# CHECK-SAME: []{{"\)$}}
|
||||
# CHECK-SAME: []"){{$}}
|
||||
|
||||
# array_type with a language with a default lower bound of 1 instead of 0 and
|
||||
# an upper bound of 2. This describes an array with 2 elements (whereas with a
|
||||
|
|
Loading…
Reference in New Issue