-
Notifications
You must be signed in to change notification settings - Fork 15.1k
[clang] Instantiate attributes on LabelDecls #115924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
da2e66a
a6b8309
eb4b3a2
6ba54c4
a9f73b9
627a4d2
e0d7698
fb705ad
9622499
a87977a
fe5f361
778e2b5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,7 @@ void CheckEnumerations() { | |
| // Check that non-vector 'mode' attribute is OK with enumeration types. | ||
| typedef T __attribute__((mode(QI))) T1; | ||
| typedef T T2 __attribute__((mode(HI))); | ||
| typedef T __attribute__((mode(V8SI))) T3; // expected-error{{mode 'V8SI' is not supported for enumeration types}} | ||
| typedef T __attribute__((mode(V8SI))) T3; // expected-error2{{mode 'V8SI' is not supported for enumeration types}} | ||
|
||
| // expected-warning@-1{{specifying vector types with the 'mode' attribute is deprecated}} | ||
|
|
||
| typedef enum __attribute__((mode(HI))) { A4, B4 } T4; | ||
|
|
@@ -62,7 +62,7 @@ struct TemplatedStruct { | |
|
|
||
| // Check typedefs. | ||
| typedef T __attribute__((mode(DI))) T1; | ||
| typedef T __attribute__((mode(V8DI))) T2; // expected-error{{mode 'V8DI' is not supported for enumeration types}} | ||
| typedef T __attribute__((mode(V8DI))) T2; // expected-error2{{mode 'V8DI' is not supported for enumeration types}} | ||
| // expected-warning@-1{{deprecated}} | ||
|
|
||
| // Check parameters. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.