[cfe-commits] r116570 - /cfe/trunk/lib/Sema/AttributeList.cpp
Gabor Greif
ggreif at gmail.com
Fri Oct 15 01:26:25 PDT 2010
Author: ggreif
Date: Fri Oct 15 03:26:25 2010
New Revision: 116570
URL: http://llvm.org/viewvc/llvm-project?rev=116570&view=rev
Log:
fix http://llvm.org/PR8371 in the straightforward way, also adding a comment
Modified:
cfe/trunk/lib/Sema/AttributeList.cpp
Modified: cfe/trunk/lib/Sema/AttributeList.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/AttributeList.cpp?rev=116570&r1=116569&r2=116570&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/AttributeList.cpp (original)
+++ cfe/trunk/lib/Sema/AttributeList.cpp Fri Oct 15 03:26:25 2010
@@ -65,6 +65,7 @@
.Case("final", AT_final)
.Case("cdecl", AT_cdecl)
.Case("const", AT_const)
+ .Case("__const", AT_const) // some GCC headers do contain this spelling
.Case("blocks", AT_blocks)
.Case("format", AT_format)
.Case("hiding", AT_hiding)
More information about the cfe-commits
mailing list