I know you said the test shouldn't be needed, but could we add it anyways? That way other developers know what they have to cope with merely by running the tests.<br><br><div class="gmail_quote">On Fri, Oct 15, 2010 at 1:26 AM, Gabor Greif <span dir="ltr"><<a href="mailto:ggreif@gmail.com">ggreif@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: ggreif<br>
Date: Fri Oct 15 03:26:25 2010<br>
New Revision: 116570<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=116570&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=116570&view=rev</a><br>
Log:<br>
fix <a href="http://llvm.org/PR8371" target="_blank">http://llvm.org/PR8371</a> in the straightforward way, also adding a comment<br>
<br>
Modified:<br>
cfe/trunk/lib/Sema/AttributeList.cpp<br>
<br>
Modified: cfe/trunk/lib/Sema/AttributeList.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/AttributeList.cpp?rev=116570&r1=116569&r2=116570&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/AttributeList.cpp?rev=116570&r1=116569&r2=116570&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/lib/Sema/AttributeList.cpp (original)<br>
+++ cfe/trunk/lib/Sema/AttributeList.cpp Fri Oct 15 03:26:25 2010<br>
@@ -65,6 +65,7 @@<br>
.Case("final", AT_final)<br>
.Case("cdecl", AT_cdecl)<br>
.Case("const", AT_const)<br>
+ .Case("__const", AT_const) // some GCC headers do contain this spelling<br>
.Case("blocks", AT_blocks)<br>
.Case("format", AT_format)<br>
.Case("hiding", AT_hiding)<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>