@@ -68,7 +68,7 @@ void test() {
68
68
reg .field = 1 ;
69
69
}
70
70
71
- // RUN: c-index-test -test-annotate-tokens=%s:4:1:37:1 -ffreestanding %s | FileCheck %s
71
+ // RUN: c-index-test -test-annotate-tokens=%s:4:1:37:1 %s | FileCheck %s
72
72
// CHECK: Identifier: "T" [4:3 - 4:4] TypeRef=T:1:13
73
73
// CHECK: Punctuation: "*" [4:4 - 4:5] VarDecl=t_ptr:4:6 (Definition)
74
74
// CHECK: Identifier: "t_ptr" [4:6 - 4:11] VarDecl=t_ptr:4:6 (Definition)
@@ -191,10 +191,10 @@ void test() {
191
191
// CHECK: Punctuation: ")" [36:97 - 36:98] FunctionDecl=test:36:63 (unavailable) (always unavailable: "")
192
192
// CHECK: Punctuation: ";" [36:98 - 36:99]
193
193
194
- // RUN: c-index-test -test-annotate-tokens=%s:4:1:165:32 -ffreestanding %s | FileCheck %s
195
- // RUN: c-index-test -test-annotate-tokens=%s:4:1:165:38 -ffreestanding %s | FileCheck %s
194
+ // RUN: c-index-test -test-annotate-tokens=%s:4:1:165:32 %s | FileCheck %s
195
+ // RUN: c-index-test -test-annotate-tokens=%s:4:1:165:38 %s | FileCheck %s
196
196
197
- // RUN: c-index-test -test-annotate-tokens=%s:50:1:55:1 -ffreestanding %s | FileCheck %s -check-prefix=CHECK-RANGE1
197
+ // RUN: c-index-test -test-annotate-tokens=%s:50:1:55:1 %s | FileCheck %s -check-prefix=CHECK-RANGE1
198
198
// CHECK-RANGE1: Keyword: "void" [50:1 - 50:5] FunctionDecl=func1:50:6
199
199
// CHECK-RANGE1: Identifier: "func1" [50:6 - 50:11] FunctionDecl=func1:50:6
200
200
// CHECK-RANGE1: Punctuation: "(" [50:11 - 50:12] FunctionDecl=func1:50:6
@@ -216,7 +216,7 @@ void test() {
216
216
// CHECK-RANGE1: Literal: "1" [54:10 - 54:11] IntegerLiteral=
217
217
// CHECK-RANGE1: Punctuation: "," [54:11 - 54:12] InitListExpr=
218
218
219
- // RUN: c-index-test -test-annotate-tokens=%s:54:1:70:1 -ffreestanding %s | FileCheck %s -check-prefix=CHECK-RANGE2
219
+ // RUN: c-index-test -test-annotate-tokens=%s:54:1:70:1 %s | FileCheck %s -check-prefix=CHECK-RANGE2
220
220
// CHECK-RANGE2: Punctuation: "." [54:5 - 54:6] UnexposedExpr=
221
221
// CHECK-RANGE2: Identifier: "y" [54:6 - 54:7] MemberRef=y:52:1
222
222
// CHECK-RANGE2: Punctuation: "=" [54:8 - 54:9] UnexposedExpr=
@@ -240,6 +240,6 @@ void test() {
240
240
// CHECK-RANGE2: Punctuation: "." [68:6 - 68:7] MemberRefExpr=field:62:9
241
241
// CHECK-RANGE2: Identifier: "field" [68:7 - 68:12] MemberRefExpr=field:62:9
242
242
243
- // RUN: c-index-test -test-annotate-tokens=%s:68:15:68:16 -ffreestanding %s | FileCheck %s -check-prefix=CHECK-RANGE3
243
+ // RUN: c-index-test -test-annotate-tokens=%s:68:15:68:16 %s | FileCheck %s -check-prefix=CHECK-RANGE3
244
244
// CHECK-RANGE3: Literal: "1" [68:15 - 68:16] IntegerLiteral=
245
245
// CHECK-RANGE3-NOT: Punctuation: ";"
0 commit comments