We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40a983c commit 4075ec4Copy full SHA for 4075ec4
clang/test/FixIt/fixit-unknown-attributes.cpp
@@ -66,3 +66,9 @@ int f10(int) {
66
}
67
// CHECK: fix-it:"{{.*}}":{[[@LINE-5]]:16-[[@LINE-5]]:20}:"const"
68
// CHECK: fix-it:"{{.*}}":{[[@LINE-6]]:22-[[@LINE-6]]:31}:"deprecated"
69
+
70
+[[using gnu: noretyrn, address_spaci(0)]] // expected-warning {{unknown attribute 'gnu::noretyrn' ignored; did you mean 'gnu::noreturn'?}} \
71
+ // expected-warning {{unknown attribute 'gnu::address_spaci' ignored}}
72
+void f11(void) {
73
+}
74
+// CHECK: fix-it:"{{.*}}":{[[@LINE-4]]:14-[[@LINE-4]]:22}:"noreturn"
0 commit comments