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

0 commit comments

Comments
 (0)