Skip to content

Commit 01c600d

Browse files
committed
Reword a diagnostic for style; NFC
1 parent cec1eab commit 01c600d

File tree

3 files changed

+25
-25
lines changed

3 files changed

+25
-25
lines changed

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def err_invalid_vector_long_double_decl_spec : Error<
310310
def err_invalid_vector_complex_decl_spec : Error<
311311
"cannot use '_Complex' with '__vector'">;
312312
def warn_vector_long_decl_spec_combination : Warning<
313-
"Use of 'long' with '__vector' is deprecated">, InGroup<Deprecated>;
313+
"use of 'long' with '__vector' is deprecated">, InGroup<Deprecated>;
314314

315315
def err_redeclaration_different_type : Error<
316316
"redeclaration of %0 with a different type%diff{: $ vs $|}1,2">;

clang/test/Parser/altivec.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,40 +56,40 @@ void f_a2(int b, vector int a);
5656
vector int v = (vector int)(-1);
5757

5858
// These should have errors on AIX and warnings otherwise.
59-
__vector long vv_l; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
59+
__vector long vv_l; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
6060
// aix-error@-1 {{cannot use 'long' with '__vector'}}
6161
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
62-
__vector signed long vv_sl; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
62+
__vector signed long vv_sl; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
6363
// aix-error@-1 {{cannot use 'long' with '__vector'}}
6464
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
65-
__vector unsigned long vv_ul; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
65+
__vector unsigned long vv_ul; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
6666
// aix-error@-1 {{cannot use 'long' with '__vector'}}
6767
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
68-
__vector long int vv_li; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
68+
__vector long int vv_li; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
6969
// aix-error@-1 {{cannot use 'long' with '__vector'}}
7070
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
71-
__vector signed long int vv_sli; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
71+
__vector signed long int vv_sli; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
7272
// aix-error@-1 {{cannot use 'long' with '__vector'}}
7373
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
74-
__vector unsigned long int vv_uli; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
74+
__vector unsigned long int vv_uli; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
7575
// aix-error@-1 {{cannot use 'long' with '__vector'}}
7676
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
77-
vector long v_l; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
77+
vector long v_l; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
7878
// aix-error@-1 {{cannot use 'long' with '__vector'}}
7979
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
80-
vector signed long v_sl; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
80+
vector signed long v_sl; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
8181
// aix-error@-1 {{cannot use 'long' with '__vector'}}
8282
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
83-
vector unsigned long v_ul; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
83+
vector unsigned long v_ul; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
8484
// aix-error@-1 {{cannot use 'long' with '__vector'}}
8585
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
86-
vector long int v_li; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
86+
vector long int v_li; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
8787
// aix-error@-1 {{cannot use 'long' with '__vector'}}
8888
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
89-
vector signed long int v_sli; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
89+
vector signed long int v_sli; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
9090
// aix-error@-1 {{cannot use 'long' with '__vector'}}
9191
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
92-
vector unsigned long int v_uli; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
92+
vector unsigned long int v_uli; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
9393
// aix-error@-1 {{cannot use 'long' with '__vector'}}
9494
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
9595

clang/test/Parser/cxx-altivec.cpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,40 +59,40 @@ void f_a2(int b, vector int a);
5959
vector int v = (vector int)(-1);
6060

6161
// These should have errors on AIX and warnings otherwise.
62-
__vector long vv_l; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
62+
__vector long vv_l; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
6363
// aix-error@-1 {{cannot use 'long' with '__vector'}}
6464
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
65-
__vector signed long vv_sl; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
65+
__vector signed long vv_sl; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
6666
// aix-error@-1 {{cannot use 'long' with '__vector'}}
6767
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
68-
__vector unsigned long vv_ul; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
68+
__vector unsigned long vv_ul; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
6969
// aix-error@-1 {{cannot use 'long' with '__vector'}}
7070
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
71-
__vector long int vv_li; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
71+
__vector long int vv_li; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
7272
// aix-error@-1 {{cannot use 'long' with '__vector'}}
7373
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
74-
__vector signed long int vv_sli; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
74+
__vector signed long int vv_sli; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
7575
// aix-error@-1 {{cannot use 'long' with '__vector'}}
7676
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
77-
__vector unsigned long int vv_uli; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
77+
__vector unsigned long int vv_uli; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
7878
// aix-error@-1 {{cannot use 'long' with '__vector'}}
7979
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
80-
vector long v_l; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
80+
vector long v_l; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
8181
// aix-error@-1 {{cannot use 'long' with '__vector'}}
8282
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
83-
vector signed long v_sl; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
83+
vector signed long v_sl; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
8484
// aix-error@-1 {{cannot use 'long' with '__vector'}}
8585
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
86-
vector unsigned long v_ul; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
86+
vector unsigned long v_ul; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
8787
// aix-error@-1 {{cannot use 'long' with '__vector'}}
8888
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
89-
vector long int v_li; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
89+
vector long int v_li; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
9090
// aix-error@-1 {{cannot use 'long' with '__vector'}}
9191
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
92-
vector signed long int v_sli; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
92+
vector signed long int v_sli; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
9393
// aix-error@-1 {{cannot use 'long' with '__vector'}}
9494
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
95-
vector unsigned long int v_uli; // nonaix-warning {{Use of 'long' with '__vector' is deprecated}}
95+
vector unsigned long int v_uli; // nonaix-warning {{use of 'long' with '__vector' is deprecated}}
9696
// aix-error@-1 {{cannot use 'long' with '__vector'}}
9797
// novsx-error@-2 {{cannot use 'long' with '__vector'}}
9898

0 commit comments

Comments
 (0)