
This tries to fix all of the places where a diagnostic message starts with a capital letter (other than acroynyms or proper nouns) or ends with punctuation (other than a question mark). This is in support of a planned change to tablegen to start diagnosing incorrect diagnostic message styles.
11 lines
427 B
Common Lisp
11 lines
427 B
Common Lisp
// RUN: %clang_cc1 -x cl %s -verify -pedantic -fsyntax-only
|
|
|
|
typedef float float8 __attribute__((ext_vector_type(8)));
|
|
|
|
void foo(void) {
|
|
float8 f2 = (float8)(0, 0, 0, 0, 0, 0, 0, 0);
|
|
|
|
f2.s01234; // expected-error {{vector component access has invalid length 5; supported lengths are: 1,2,3,4,8,16}}
|
|
f2.xyzxy; // expected-error {{vector component access has invalid length 5; supported lengths are: 1,2,3,4,8,16}}
|
|
}
|