]> granicus.if.org Git - clang/commitdiff
ignore the const attribute for now.
authorChris Lattner <sabre@nondot.org>
Sat, 14 Feb 2009 03:51:44 +0000 (03:51 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 14 Feb 2009 03:51:44 +0000 (03:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64536 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/AttributeList.cpp

index 56fd916607436226c1d2c3417f74b522414e64ea..352869957a5f7e3d5ac925ec4a39512e9e9d39f6 100644 (file)
@@ -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;