Index: include/clang/Basic/DiagnosticParseKinds.td |
diff --git a/include/clang/Basic/DiagnosticParseKinds.td b/include/clang/Basic/DiagnosticParseKinds.td |
index 744a96ebbbe7635401ffbbbc0747c25b7e07ce6f..d80f0334ac11697db20f0ad557aa0e13a5c8b7fb 100644 |
--- a/include/clang/Basic/DiagnosticParseKinds.td |
+++ b/include/clang/Basic/DiagnosticParseKinds.td |
@@ -154,6 +154,9 @@ def err_expected_fn_body : Error< |
def warn_attribute_on_function_definition : Warning< |
"GCC does not allow %0 attribute in this position on a function definition">, |
InGroup<GccCompat>; |
+def warn_attribute_no_decl : Warning< |
+ "attribute %0 ignored, because it is not attached to a declaration">, |
+ InGroup<IgnoredAttributes>; |
def err_expected_method_body : Error<"expected method body">; |
def err_invalid_token_after_toplevel_declarator : Error< |
"expected ';' after top level declarator">; |