From: Gabor Greif Date: Fri, 15 Oct 2010 08:26:25 +0000 (+0000) Subject: fix http://llvm.org/PR8371 in the straightforward way, also adding a comment X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5127edaec77915a173708c2460fda030c67edc6;p=clang fix http://llvm.org/PR8371 in the straightforward way, also adding a comment git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116570 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/AttributeList.cpp b/lib/Sema/AttributeList.cpp index c23e1ddfb0..89f59f9195 100644 --- a/lib/Sema/AttributeList.cpp +++ b/lib/Sema/AttributeList.cpp @@ -65,6 +65,7 @@ AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name) { .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)