Skip to content

Commit b115684

Browse files
author
klensy
committed
clang filecheck typos fix moved from llvm#91854
1 parent d0bb917 commit b115684

19 files changed

+2274
-2274
lines changed

clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ void gronk::bar(void) {
306306
// CHECK-MESSAGES: :[[@LINE-2]]:11: warning: {{.*}} in variable declaration
307307
// CHECK-FIXES: {{^ }}void (gronk::*p5){{$}}
308308
// CHECK-FIXES-NEXT: {{^ \($}}
309-
// CHECK-FIXES-NExT: {{^ $}}
310-
// CHECK-FIXES-NExT: {{^ \);$}}
309+
// CHECK-FIXES-NEXT: {{^ $}}
310+
// CHECK-FIXES-NEXT: {{^ \);$}}
311311
}
312312

313313
// intentionally not LLVM style to check preservation of whitespace

clang/test/Analysis/analyzer-checker-option-help.c

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,26 +35,26 @@
3535
//
3636
// CHECK-STABLE: cplusplus.Move:WarnOn
3737
// CHECK-STABLE-SAME: (string) In non-aggressive mode, only warn
38-
// CHECK-STABLLE: on use-after-move of local variables (or
39-
// CHECK-STABLLE: local rvalue references) and of STL objects.
40-
// CHECK-STABLLE: The former is possible because local variables
41-
// CHECK-STABLLE: (or local rvalue references) are not tempting
42-
// CHECK-STABLLE: their user to re-use the storage. The latter
43-
// CHECK-STABLLE: is possible because STL objects are known
44-
// CHECK-STABLLE: to end up in a valid but unspecified state
45-
// CHECK-STABLLE: after the move and their state-reset methods
46-
// CHECK-STABLLE: are also known, which allows us to predict
47-
// CHECK-STABLLE: precisely when use-after-move is invalid.
48-
// CHECK-STABLLE: Some STL objects are known to conform to
49-
// CHECK-STABLLE: additional contracts after move, so they
50-
// CHECK-STABLLE: are not tracked. However, smart pointers
51-
// CHECK-STABLLE: specifically are tracked because we can
52-
// CHECK-STABLLE: perform extra checking over them. In aggressive
53-
// CHECK-STABLLE: mode, warn on any use-after-move because
54-
// CHECK-STABLLE: the user has intentionally asked us to completely
55-
// CHECK-STABLLE: eliminate use-after-move in his code. Values:
56-
// CHECK-STABLLE: "KnownsOnly", "KnownsAndLocals", "All".
57-
// CHECK-STABLLE: (default: KnownsAndLocals)
38+
// CHECK-STABLE: on use-after-move of local variables (or
39+
// CHECK-STABLE: local rvalue references) and of STL objects.
40+
// CHECK-STABLE: The former is possible because local variables
41+
// CHECK-STABLE: (or local rvalue references) are not tempting
42+
// CHECK-STABLE: their user to re-use the storage. The latter
43+
// CHECK-STABLE: is possible because STL objects are known
44+
// CHECK-STABLE: to end up in a valid but unspecified state
45+
// CHECK-STABLE: after the move and their state-reset methods
46+
// CHECK-STABLE: are also known, which allows us to predict
47+
// CHECK-STABLE: precisely when use-after-move is invalid.
48+
// CHECK-STABLE: Some STL objects are known to conform to
49+
// CHECK-STABLE: additional contracts after move, so they
50+
// CHECK-STABLE: are not tracked. However, smart pointers
51+
// CHECK-STABLE: specifically are tracked because we can
52+
// CHECK-STABLE: perform extra checking over them. In aggressive
53+
// CHECK-STABLE: mode, warn on any use-after-move because
54+
// CHECK-STABLE: the user has intentionally asked us to completely
55+
// CHECK-STABLE: eliminate use-after-move in his code. Values:
56+
// CHECK-STABLE: "KnownsOnly", "KnownsAndLocals", "All".
57+
// CHECK-STABLE: (default: KnownsAndLocals)
5858

5959
// CHECK-STABLE-NOT: debug.AnalysisOrder:*
6060
// CHECK-DEVELOPER: debug.AnalysisOrder:*

clang/test/CodeGen/PowerPC/ppc-tmmintrin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ test_alignr() {
7171
// CHECK-BE: call <16 x i8> @vec_sld(unsigned char vector[16], unsigned char vector[16], unsigned int)
7272
// CHECK-LE: call <16 x i8> @vec_reve(unsigned char vector[16])
7373
// CHECK-LE: call <16 x i8> @vec_reve(unsigned char vector[16])
74-
// CHECk-LE: call <16 x i8> @vec_sld(unsigned char vector[16], unsigned char vector[16], unsigned int)
74+
// CHECK-LE: call <16 x i8> @vec_sld(unsigned char vector[16], unsigned char vector[16], unsigned int)
7575
// CHECK-LE: call <16 x i8> @vec_reve(unsigned char vector[16])
7676
// CHECK: store <16 x i8> zeroinitializer, ptr %{{[0-9a-zA-Z_.]+}}, align 16
7777
// CHECK: store <2 x i64> zeroinitializer, ptr %{{[0-9a-zA-Z_.]+}}, align 16

clang/test/CodeGen/X86/avx-builtins.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1800,14 +1800,14 @@ void test_mm256_storeu_pd(double* A, __m256d B) {
18001800
void test_mm256_storeu_ps(float* A, __m256 B) {
18011801
// CHECK-LABEL: test_mm256_storeu_ps
18021802
// CHECK: store <8 x float> %{{.*}}, ptr %{{.*}}, align 1{{$}}
1803-
// CHECk-NEXT: ret void
1803+
// CHECK-NEXT: ret void
18041804
_mm256_storeu_ps(A, B);
18051805
}
18061806

18071807
void test_mm256_storeu_si256(__m256i* A, __m256i B) {
18081808
// CHECK-LABEL: test_mm256_storeu_si256
18091809
// CHECK: store <4 x i64> %{{.*}}, ptr %{{.*}}, align 1{{$}}
1810-
// CHECk-NEXT: ret void
1810+
// CHECK-NEXT: ret void
18111811
_mm256_storeu_si256(A, B);
18121812
}
18131813

clang/test/CodeGen/X86/avx512vl-builtins.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7021,8 +7021,8 @@ void test_mm256_mask_store_ps(void *__P, __mmask8 __U, __m256 __A) {
70217021
}
70227022

70237023
void test_mm_storeu_epi64(void *__p, __m128i __a) {
7024-
// check-label: @test_mm_storeu_epi64
7025-
// check: store <2 x i64> %{{.*}}, ptr %{{.*}}, align 1{{$}}
7024+
// CHECK-LABEL: @test_mm_storeu_epi64
7025+
// CHECK: store <2 x i64> %{{.*}}, ptr %{{.*}}, align 1{{$}}
70267026
return _mm_storeu_epi64(__p, __a);
70277027
}
70287028

clang/test/CodeGen/X86/avx512vlbw-builtins.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2569,8 +2569,8 @@ __m256i test_mm256_maskz_loadu_epi8(__mmask32 __U, void const *__P) {
25692569
}
25702570

25712571
void test_mm_storeu_epi16(void *__p, __m128i __a) {
2572-
// check-label: @test_mm_storeu_epi16
2573-
// check: store <2 x i64> %{{.*}}, ptr %{{.*}}, align 1{{$}}
2572+
// CHECK-LABEL: @test_mm_storeu_epi16
2573+
// CHECK: store <2 x i64> %{{.*}}, ptr %{{.*}}, align 1{{$}}
25742574
return _mm_storeu_epi16(__p, __a);
25752575
}
25762576

@@ -2593,8 +2593,8 @@ void test_mm256_mask_storeu_epi16(void *__P, __mmask16 __U, __m256i __A) {
25932593
}
25942594

25952595
void test_mm_storeu_epi8(void *__p, __m128i __a) {
2596-
// check-label: @test_mm_storeu_epi8
2597-
// check: store <2 x i64> %{{.*}}, ptr %{{.*}}, align 1{{$}}
2596+
// CHECK-LABEL: @test_mm_storeu_epi8
2597+
// CHECK: store <2 x i64> %{{.*}}, ptr %{{.*}}, align 1{{$}}
25982598
return _mm_storeu_epi8(__p, __a);
25992599
}
26002600

clang/test/CodeGen/constantexpr-fneg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Test case for PR45426. Make sure we do not crash while writing bitcode
55
// containing a simplify-able fneg constant expression.
66
//
7-
// CHECK-LABEL define i32 @main()
7+
// CHECK-LABEL: define{{.*}} i32 @main()
88
// CHECK: entry:
99
// CHECK-NEXT: %retval = alloca i32
1010
// CHECK-NEXT: store i32 0, ptr %retval

clang/test/CodeGen/fp-floatcontrol-pragma.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,15 @@ float check_precise(float x, float y) {
150150
}
151151

152152
float fma_test2(float a, float b, float c) {
153-
// CHECK-LABEL define{{.*}} float @_Z9fma_test2fff{{.*}}
153+
// CHECK-LABEL: define{{.*}} float @_Z9fma_test2fff{{.*}}
154154
#pragma float_control(precise, off)
155155
float x = a * b + c;
156156
//CHECK: fmuladd
157157
return x;
158158
}
159159

160160
float fma_test1(float a, float b, float c) {
161-
// CHECK-LABEL define{{.*}} float @_Z9fma_test1fff{{.*}}
161+
// CHECK-LABEL: define{{.*}} float @_Z9fma_test1fff{{.*}}
162162
#pragma float_control(precise, on)
163163
float x = a * b + c;
164164
//CHECK: fmuladd
@@ -181,7 +181,7 @@ float test_OperatorCall() {
181181
return add(1.0f, 2.0f);
182182
//CHECK: llvm.experimental.constrained.fadd{{.*}}fpexcept.strict
183183
}
184-
// CHECK-LABEL define{{.*}} float {{.*}}test_OperatorCall{{.*}}
184+
// CHECK-LABEL: define{{.*}} float {{.*}}test_OperatorCall{{.*}}
185185

186186
#if FENV_ON
187187
#pragma STDC FENV_ACCESS ON

clang/test/CodeGen/paren-list-agg-init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ void foo18() {
382382
// CHECK-NEXT: [[A:%.*a.*]] = getelementptr inbounds [[STRUCT_G]], ptr [[G]], i32 0, i32 0
383383
// CHECK-NEXT: store i32 2, ptr [[A]], align 4
384384
// CHECK-NEXT: [[F:%.*f.*]] = getelementptr inbounds [[STRUCT_G]], ptr [[G]], i32 0, i32 1
385-
// CHECk-NEXT: call void @{{.*F.*}}(ptr noundef nonnull align 1 dereferenceable(1)) [[F]], ie32 noundef 1)
385+
// CHECK-NEXT: call void @_ZN1FC1Ei(ptr noundef nonnull align 1 dereferenceable(1) [[F]], i32 noundef 1)
386386
// CHECK: ret void
387387
void foo19() {
388388
G g(2);

clang/test/CodeGenCXX/microsoft-abi-throw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// CHECK-DAG: @"_TI5?AUY@@" = linkonce_odr unnamed_addr constant %eh.ThrowInfo { i32 0, ptr @"??_DY@@QAEXXZ", ptr null, ptr @"_CTA5?AUY@@" }, section ".xdata", comdat
1515
// CHECK-DAG: @"_CT??_R0?AUDefault@@@8??_ODefault@@QAEXAAU0@@Z1" = linkonce_odr unnamed_addr constant %eh.CatchableType { i32 0, ptr @"??_R0?AUDefault@@@8", i32 0, i32 -1, i32 0, i32 1, ptr @"??_ODefault@@QAEXAAU0@@Z" }, section ".xdata", comdat
1616
// CHECK-DAG: @"_CT??_R0?AUDeletedCopy@@@81" = linkonce_odr unnamed_addr constant %eh.CatchableType { i32 0, ptr @"??_R0?AUDeletedCopy@@@8", i32 0, i32 -1, i32 0, i32 1, ptr null }, section ".xdata", comdat
17-
// CHECk-DAG: @"_CT??_R0?AUMoveOnly@@@84" = linkonce_odr unnamed_addr constant %eh.CatchableType { i32 0, ptr @"??_R0?AUMoveOnly@@@8", i32 0, i321-1, i32 0, i32 4, ptr null }, section ".xdata", comda
17+
// CHECK-DAG: @"_CT??_R0?AUMoveOnly@@@84" = linkonce_odr unnamed_addr constant %eh.CatchableType { i32 0, ptr @"??_R0?AUMoveOnly@@@8", i32 0, i321-1, i32 0, i32 4, ptr null }, section ".xdata", comdat
1818
// CHECK-DAG: @"_CT??_R0?AUVariadic@@@8??_OVariadic@@QAEXAAU0@@Z1" = linkonce_odr unnamed_addr constant %eh.CatchableType { i32 0, ptr @"??_R0?AUVariadic@@@8", i32 0, i32 -1, i32 0, i32 1, ptr @"??_OVariadic@@QAEXAAU0@@Z" }, section ".xdata", comdat
1919
// CHECK-DAG: @"_CT??_R0?AUTemplateWithDefault@@@8??$?_OH@TemplateWithDefault@@QAEXAAU0@@Z1" = linkonce_odr unnamed_addr constant %eh.CatchableType { i32 0, ptr @"??_R0?AUTemplateWithDefault@@@8", i32 0, i32 -1, i32 0, i32 1, ptr @"??$?_OH@TemplateWithDefault@@QAEXAAU0@@Z" }, section ".xdata", comdat
2020
// CHECK-DAG: @"_CTA2$$T" = linkonce_odr unnamed_addr constant %eh.CatchableTypeArray.2 { i32 2, [2 x ptr] [ptr @"_CT??_R0$$T@84", ptr @"_CT??_R0PAX@84"] }, section ".xdata", comdat

clang/test/CodeGenCXX/vtable-assume-load-address-space.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void g(B *a) { a->foo(); }
112112
// CHECK3: call{{.*}} void @_ZN5test31CC1Ev(ptr
113113
// CHECK3: %[[CMP:.*]] = icmp eq ptr addrspace(1) %{{.*}}, getelementptr inbounds inrange(-24, 8) ({ [4 x ptr addrspace(1)] }, ptr addrspace(1) @_ZTVN5test31CE, i32 0, i32 0, i32 3)
114114
// CHECK3: call void @llvm.assume(i1 %[[CMP]])
115-
// CHECK3-LABLEL: }
115+
// CHECK3-LABEL: }
116116
void test() {
117117
C c;
118118
g(&c);

clang/test/CodeGenCXX/vtable-assume-load.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void g(B *a) { a->foo(); }
111111
// CHECK3: call void @_ZN5test31CC1Ev(ptr
112112
// CHECK3: %[[CMP:.*]] = icmp eq ptr %{{.*}}, getelementptr inbounds inrange(-24, 8) ({ [4 x ptr] }, ptr @_ZTVN5test31CE, i32 0, i32 0, i32 3)
113113
// CHECK3: call void @llvm.assume(i1 %[[CMP]])
114-
// CHECK3-LABLEL: }
114+
// CHECK3-LABEL: }
115115
void test() {
116116
C c;
117117
g(&c);

clang/test/CodeGenOpenCL/builtins-amdgcn.cl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ kernel void test_s_setreg(uint val) {
812812
__builtin_amdgcn_s_setreg(8193, val);
813813
}
814814

815-
// CHECK-LABEL test_atomic_inc_dec(
815+
// CHECK-LABEL: test_atomic_inc_dec(
816816
void test_atomic_inc_dec(local uint *lptr, global uint *gptr, uint val) {
817817
uint res;
818818

@@ -832,14 +832,14 @@ void test_atomic_inc_dec(local uint *lptr, global uint *gptr, uint val) {
832832
res = __builtin_amdgcn_atomic_dec32((volatile global uint*)gptr, val, __ATOMIC_SEQ_CST, "");
833833
}
834834

835-
// CHECK-LABEL test_wavefrontsize(
835+
// CHECK-LABEL: test_wavefrontsize(
836836
unsigned test_wavefrontsize() {
837837

838838
// CHECK: call i32 @llvm.amdgcn.wavefrontsize()
839839
return __builtin_amdgcn_wavefrontsize();
840840
}
841841

842-
// CHECK-LABEL test_flt_rounds(
842+
// CHECK-LABEL: test_flt_rounds(
843843
unsigned test_flt_rounds() {
844844

845845
// CHECK: call i32 @llvm.get.rounding()
@@ -851,13 +851,13 @@ unsigned test_flt_rounds() {
851851
return mode;
852852
}
853853

854-
// CHECK-LABEL test_get_fpenv(
854+
// CHECK-LABEL: test_get_fpenv(
855855
unsigned long test_get_fpenv() {
856856
// CHECK: call i64 @llvm.get.fpenv.i64()
857857
return __builtin_amdgcn_get_fpenv();
858858
}
859859

860-
// CHECK-LABEL test_set_fpenv(
860+
// CHECK-LABEL: test_set_fpenv(
861861
void test_set_fpenv(unsigned long env) {
862862
// CHECK: call void @llvm.set.fpenv.i64(i64 %[[ENV:.+]])
863863
__builtin_amdgcn_set_fpenv(env);

clang/test/Driver/baremetal-sysroot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// RUN: | FileCheck --check-prefix=CHECK-V6M-C %s
1515
// CHECK-V6M-C: "{{.*}}clang{{.*}}" "-cc1" "-triple" "thumbv6m-unknown-none-eabi"
1616
// CHECK-V6M-C-SAME: "-internal-isystem" "{{.*}}/baremetal_default_sysroot{{[/\\]+}}bin{{[/\\]+}}..{{[/\\]+}}lib{{[/\\]+}}clang-runtimes{{[/\\]+}}armv6m-none-eabi{{[/\\]+}}include{{[/\\]+}}c++{{[/\\]+}}v1"
17-
// CHECk-V6M-C-SAME: "-internal-isystem" "{{.*}}/baremetal_default_sysroot{{[/\\]+}}bin{{[/\\]+}}..{{[/\\]+}}lib{{[/\\]+}}clang-runtimes{{[/\\]+}}armv6m-none-eabi{{[/\\]+}}include"
17+
// CHECK-V6M-C-SAME: "-internal-isystem" "{{.*}}/baremetal_default_sysroot{{[/\\]+}}bin{{[/\\]+}}..{{[/\\]+}}lib{{[/\\]+}}clang-runtimes{{[/\\]+}}armv6m-none-eabi{{[/\\]+}}include"
1818
// CHECK-V6M-C-SAME: "-x" "c++" "{{.*}}baremetal-sysroot.cpp"
1919
// CHECK-V6M-C-NEXT: "{{[^"]*}}ld{{(\.(lld|bfd|gold))?}}{{(\.exe)?}}" "{{.*}}.o" "-Bstatic"
2020
// CHECK-V6M-C-SAME: "-L{{.*}}/baremetal_default_sysroot{{[/\\]+}}bin{{[/\\]+}}..{{[/\\]+}}lib{{[/\\]+}}clang-runtimes{{[/\\]+}}armv6m-none-eabi{{[/\\]+}}lib"

clang/test/Driver/baremetal.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// CHECK-V6M-C-SAME: "-resource-dir" "[[RESOURCE_DIR:[^"]+]]"
1414
// CHECK-V6M-C-SAME: "-isysroot" "[[SYSROOT:[^"]*]]"
1515
// CHECK-V6M-C-SAME: "-internal-isystem" "[[SYSROOT]]{{[/\\]+}}include{{[/\\]+}}c++{{[/\\]+}}v1"
16-
// CHECk-V6M-C-SAME: "-internal-isystem" "[[SYSROOT]]{{[/\\]+}}include"
16+
// CHECK-V6M-C-SAME: "-internal-isystem" "[[SYSROOT]]{{[/\\]+}}include"
1717
// CHECK-V6M-C-SAME: "-x" "c++" "{{.*}}baremetal.cpp"
1818
// CHECK-V6M-C-NEXT: ld{{(.exe)?}}" "{{.*}}.o" "-Bstatic" "-EL"
1919
// CHECK-V6M-C-SAME: "-T" "semihosted.lds" "-Lsome{{[/\\]+}}directory{{[/\\]+}}user{{[/\\]+}}asked{{[/\\]+}}for"
@@ -167,7 +167,7 @@
167167
// CHECK-RV64-SAME: "-resource-dir" "[[RESOURCE_DIR:[^"]+]]"
168168
// CHECK-RV64-SAME: "-isysroot" "[[SYSROOT:[^"]*]]"
169169
// CHECK-RV64-SAME: "-internal-isystem" "[[SYSROOT]]{{[/\\]+}}include{{[/\\]+}}c++{{[/\\]+}}v1"
170-
// CHECk-RV64-SAME: "-internal-isystem" "[[SYSROOT]]{{[/\\]+}}include"
170+
// CHECK-RV64-SAME: "-internal-isystem" "[[SYSROOT]]{{[/\\]+}}include"
171171
// CHECK-RV64-SAME: "-x" "c++" "{{.*}}baremetal.cpp"
172172
// CHECK-RV64-NEXT: ld{{(.exe)?}}" "{{.*}}.o" "-Bstatic"
173173
// CHECK-RV64-SAME: "-Lsome{{[/\\]+}}directory{{[/\\]+}}user{{[/\\]+}}asked{{[/\\]+}}for"
@@ -287,7 +287,7 @@
287287
// CHECK-RV64FD-SAME: "-resource-dir" "[[RESOURCE_DIR:[^"]+]]"
288288
// CHECK-RV64FD-SAME: "-isysroot" "[[SYSROOT:[^"]*]]"
289289
// CHECK-RV64FD-SAME: "-internal-isystem" "[[SYSROOT]]{{[/\\]+}}rv64imafdc{{[/\\]+}}lp64d{{[/\\]+}}include{{[/\\]+}}c++{{[/\\]+}}v1"
290-
// CHECk-RV64FD-SAME: "-internal-isystem" "[[SYSROOT]]{{[/\\]+}}rv64imafdc{{[/\\]+}}lp64d{{[/\\]+}}include"
290+
// CHECK-RV64FD-SAME: "-internal-isystem" "[[SYSROOT]]{{[/\\]+}}rv64imafdc{{[/\\]+}}lp64d{{[/\\]+}}include"
291291
// CHECK-RV64FD-SAME: "-x" "c++" "{{.*}}baremetal.cpp"
292292
// CHECK-RV64FD-NEXT: ld{{(.exe)?}}" "{{.*}}.o" "-Bstatic"
293293
// CHECK-RV64FD-SAME: "-L[[SYSROOT:[^"]+]]{{[/\\]+}}rv64imafdc{{[/\\]+}}lp64d{{[/\\]+}}lib"

clang/test/Driver/save-stats.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
// CHECK: "{{.*}}save-stats.c"
55

66
// RUN: %clang -target x86_64-apple-darwin -S %s -### 2>&1 | FileCheck %s -check-prefix=NO-STATS
7-
// NO-STATS-NO: -stats-file
7+
// NO-STATS-NOT: -stats-file
88
// NO-STATS: "{{.*}}save-stats.c"
9-
// NO-STATS-NO: -stats-file
9+
// NO-STATS-NOT: -stats-file
1010

1111
// RUN: %clang -target x86_64-apple-darwin -save-stats=obj -c -o obj/dir/save-stats.o %s -### 2>&1 | FileCheck %s -check-prefix=CHECK-OBJ
1212
// CHECK-OBJ: "-stats-file=obj/dir{{/|\\\\}}save-stats.stats"
@@ -49,7 +49,7 @@
4949
// RUN: env CC_PRINT_INTERNAL_STAT=1 \
5050
// RUN: %clang -target x86_64-apple-darwin %s -### 2>&1 | FileCheck %s -check-prefix=CHECK-ENV
5151
// CHECK-ENV: "-stats-file=-"
52-
// CHECK-ENV-NO: "stats-file-append"
52+
// CHECK-ENV-NOT: "stats-file-append"
5353

5454
// RUN: env CC_PRINT_INTERNAL_STAT=1 \
5555
// RUN: CC_PRINT_INTERNAL_STAT_FILE=/tmp/stats.json \

clang/test/Misc/pragma-attribute-strict-subjects.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ struct testRecoverExtraStruct { };
6868

6969
enum testNoEnumAbiTag { CaseCase };
7070
// CHECK-LABEL: EnumDecl{{.*}} testNoEnumAbiTag
71-
// CHECK-NO: AbiTagAttr
71+
// CHECK-NOT: AbiTagAttr
7272

7373
#pragma clang attribute pop
7474

0 commit comments

Comments
 (0)