diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2008-06-08 15:45:52 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2008-06-08 15:45:52 +0000 |
commit | d4cbda6292b321c2e7dce7f039d92918fee99b3a (patch) | |
tree | bafb6964c04d55e8f69832155513962da2180514 /lib/Parse/AttributeList.cpp | |
parent | 3cd1a2dc07014aa6b675030823690cf06619a745 (diff) |
implement the alias attirbute (in both Sema and Codegen)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/AttributeList.cpp')
-rw-r--r-- | lib/Parse/AttributeList.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Parse/AttributeList.cpp b/lib/Parse/AttributeList.cpp index c99722c54a..8697d4ece8 100644 --- a/lib/Parse/AttributeList.cpp +++ b/lib/Parse/AttributeList.cpp @@ -56,6 +56,9 @@ AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name) { if (!memcmp(Str, "pure", 4)) return AT_pure; if (!memcmp(Str, "mode", 4)) return AT_mode; break; + case 5: + if (!memcmp(Str, "alias", 5)) return AT_alias; + break; case 6: if (!memcmp(Str, "packed", 6)) return AT_packed; if (!memcmp(Str, "malloc", 6)) return AT_malloc; |