<div dir="ltr">Test case, maybe? You can test this with expected-error-re to add a $ to the end of the expected diagnostic string to ensure it doesn't have trailing text, for example.</div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Sat, Nov 2, 2013 at 5:16 PM, David Majnemer <span dir="ltr"><<a href="mailto:david.majnemer@gmail.com" target="_blank">david.majnemer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Author: majnemer<br>
Date: Sat Nov 2 19:16:44 2013<br>
New Revision: 193936<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=193936&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=193936&view=rev</a><br>
Log:<br>
Fix typo in err_flexible_array_empty_aggregate<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=193936&r1=193935&r2=193936&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=193936&r1=193935&r2=193936&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)<br>
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Sat Nov 2 19:16:44 2013<br>
@@ -3942,7 +3942,7 @@ def err_flexible_array_virtual_base : Er<br>
"%select{struct|interface|union|class|enum}1 which has a virtual base class">;<br>
def err_flexible_array_empty_aggregate : Error<<br>
"flexible array member %0 not allowed in otherwise empty "<br>
- "%select{struct|interface|union|class|enum}1 is not allowed">;<br>
+ "%select{struct|interface|union|class|enum}1">;<br>
def err_flexible_array_has_nonpod_type : Error<<br>
"flexible array member %0 of non-POD element type %1">;<br>
def ext_flexible_array_in_struct : Extension<<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>