[cfe-commits] r116570 - /cfe/trunk/lib/Sema/AttributeList.cpp

Chandler Carruth chandlerc at google.com
Fri Oct 15 01:33:40 PDT 2010


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.

On Fri, Oct 15, 2010 at 1:26 AM, Gabor Greif <ggreif at gmail.com> wrote:

> 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)
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101015/4c102cdc/attachment.html>


More information about the cfe-commits mailing list