Skip to content

Commit c4976f4

Browse files
author
klensy
committed
clang filecheck typos fix moved from llvm#91854
1 parent 7612dcc commit c4976f4

17 files changed

+2250
-2250
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/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
@@ -1833,14 +1833,14 @@ void test_mm256_storeu_pd(double* A, __m256d B) {
18331833
void test_mm256_storeu_ps(float* A, __m256 B) {
18341834
// CHECK-LABEL: test_mm256_storeu_ps
18351835
// CHECK: store <8 x float> %{{.*}}, ptr %{{.*}}, align 1{{$}}
1836-
// CHECk-NEXT: ret void
1836+
// CHECK-NEXT: ret void
18371837
_mm256_storeu_ps(A, B);
18381838
}
18391839

18401840
void test_mm256_storeu_si256(__m256i* A, __m256i B) {
18411841
// CHECK-LABEL: test_mm256_storeu_si256
18421842
// CHECK: store <4 x i64> %{{.*}}, ptr %{{.*}}, align 1{{$}}
1843-
// CHECk-NEXT: ret void
1843+
// CHECK-NEXT: ret void
18441844
_mm256_storeu_si256(A, B);
18451845
}
18461846

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
@@ -2570,8 +2570,8 @@ __m256i test_mm256_maskz_loadu_epi8(__mmask32 __U, void const *__P) {
25702570
}
25712571

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

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

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

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
@@ -377,7 +377,7 @@ void foo18() {
377377
// CHECK-NEXT: [[A:%.*a.*]] = getelementptr inbounds nuw [[STRUCT_G]], ptr [[G]], i32 0, i32 0
378378
// CHECK-NEXT: store i32 2, ptr [[A]], align 4
379379
// CHECK-NEXT: [[F:%.*]] = getelementptr inbounds i8, ptr [[G]], i64 4
380-
// CHECk-NEXT: call void @{{.*F.*}}(ptr noundef nonnull align 1 dereferenceable(1)) [[F]], ie32 noundef 1)
380+
// CHECK-NEXT: call void @_ZN1FC1Ei(ptr noundef nonnull align 1 dereferenceable(1) [[F]], i32 noundef 1)
381381
// CHECK: ret void
382382
void foo19() {
383383
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);

0 commit comments

Comments
 (0)