aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-14 03:51:44 +0000
committerChris Lattner <sabre@nondot.org>2009-02-14 03:51:44 +0000
commit56aa2fad7ef400d369e0d2b60146bce3bb46ebdc (patch)
treecb80628d57463eed862a609d34b333ac52f7a05a /lib
parent5216ad7e095873f19e535ad1efba91973f05d8e8 (diff)
ignore the const attribute for now.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Parse/AttributeList.cpp1
1 files changed, 1 insertions, 0 deletions
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;