[cfe-commits] r64536 - /cfe/trunk/lib/Parse/AttributeList.cpp

Chris Lattner sabre at nondot.org
Fri Feb 13 19:51:44 PST 2009


Author: lattner
Date: Fri Feb 13 21:51:44 2009
New Revision: 64536

URL: http://llvm.org/viewvc/llvm-project?rev=64536&view=rev
Log:
ignore the const attribute for now.

Modified:
    cfe/trunk/lib/Parse/AttributeList.cpp

Modified: cfe/trunk/lib/Parse/AttributeList.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/AttributeList.cpp?rev=64536&r1=64535&r2=64536&view=diff

==============================================================================
--- cfe/trunk/lib/Parse/AttributeList.cpp (original)
+++ cfe/trunk/lib/Parse/AttributeList.cpp Fri Feb 13 21:51:44 2009
@@ -60,6 +60,7 @@
     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;





More information about the cfe-commits mailing list