<div dir="ltr">Is this testable?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 19, 2013 at 5:14 PM, Aaron Ballman <span dir="ltr"><<a href="mailto:aaron@aaronballman.com" target="_blank">aaron@aaronballman.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: aaronballman<br>
Date: Tue Nov 19 19:14:35 2013<br>
New Revision: 195186<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=195186&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=195186&view=rev</a><br>
Log:<br>
Ensuring the warning for attribute decl types matches the error for attribute decl types.<br>
<br>
Modified:<br>
    cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td<br>
<br>
Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=195186&r1=195185&r2=195186&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=195186&r1=195185&r2=195186&view=diff</a><br>

==============================================================================<br>
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)<br>
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Tue Nov 19 19:14:35 2013<br>
@@ -2040,7 +2040,8 @@ def warn_attribute_wrong_decl_type : War<br>
   "variables, functions and labels|fields and global variables|structs|"<br>
   "variables, functions and tag types|thread-local variables|"<br>
   "variables and fields|variables, data members and tag types|"<br>
-  "types and namespaces|Objective-C interfaces}1">,<br>
+  "types and namespaces|Objective-C interfaces|methods and properties|"<br>
+  "struct or union|struct, union or class}1">,<br>
   InGroup<IgnoredAttributes>;<br>
 def err_attribute_wrong_decl_type : Error<<br>
   "%0 attribute only applies to %select{functions|unions|"<br>
@@ -2050,8 +2051,8 @@ def err_attribute_wrong_decl_type : Erro<br>
   "variables, functions and labels|fields and global variables|structs|"<br>
   "variables, functions and tag types|thread-local variables|"<br>
   "variables and fields|variables, data members and tag types|"<br>
-  "types and namespaces|Objective-C interfaces|"<br>
-  "methods and properties|struct or union|struct, union or class}1">;<br>
+  "types and namespaces|Objective-C interfaces|methods and properties|"<br>
+  "struct or union|struct, union or class}1">;<br>
 def warn_type_attribute_wrong_type : Warning<<br>
   "'%0' only applies to %select{function|pointer|"<br>
   "Objective-C object or block pointer}1 types; type here is %2">,<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div>