From: Chris Lattner Date: Sat, 14 Feb 2009 03:51:44 +0000 (+0000) Subject: ignore the const attribute for now. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56aa2fad7ef400d369e0d2b60146bce3bb46ebdc;p=clang ignore the const attribute for now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64536 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Parse/AttributeList.cpp b/lib/Parse/AttributeList.cpp index 56fd916607..352869957a 100644 --- a/lib/Parse/AttributeList.cpp +++ b/lib/Parse/AttributeList.cpp @@ -60,6 +60,7 @@ AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name) { break; case 5: if (!memcmp(Str, "alias", 5)) return AT_alias; + if (!memcmp(Str, "const", 5)) return IgnoredAttribute; // FIXME! break; case 6: if (!memcmp(Str, "packed", 6)) return AT_packed;