From 3405a73ab8e551234ba803394d70e55dd57cf00a Mon Sep 17 00:00:00 2001 From: Steve Naroff Date: Thu, 18 Sep 2008 16:44:58 +0000 Subject: Finish pushing blocks attribute through the clang attribute machinery. Also added a couple simple tests from the "gcc.apple" test suite. llvm-svn: 56309 --- clang/lib/Parse/AttributeList.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/Parse/AttributeList.cpp') diff --git a/clang/lib/Parse/AttributeList.cpp b/clang/lib/Parse/AttributeList.cpp index 00da27cf0e8..b39dbe8c019 100644 --- a/clang/lib/Parse/AttributeList.cpp +++ b/clang/lib/Parse/AttributeList.cpp @@ -65,6 +65,7 @@ AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name) { if (!memcmp(Str, "malloc", 6)) return AT_malloc; if (!memcmp(Str, "format", 6)) return AT_format; if (!memcmp(Str, "unused", 6)) return AT_unused; + if (!memcmp(Str, "blocks", 6)) return AT_blocks; break; case 7: if (!memcmp(Str, "aligned", 7)) return AT_aligned; -- cgit v1.2.3