diff options
| author | Douglas Gregor <dgregor@apple.com> | 2012-05-02 15:16:13 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2012-05-02 15:16:13 +0000 |
| commit | 39d59dbd655322fd49a9b4e10844cc39f1097256 (patch) | |
| tree | 88fc5a52532fb93064ba93732c6b5d3c5cd92e23 /clang/lib/Sema/AttributeList.cpp | |
| parent | c242ef245c61731f9d7d0bcc3039761fbb786223 (diff) | |
| download | bcm5719-llvm-39d59dbd655322fd49a9b4e10844cc39f1097256.tar.gz bcm5719-llvm-39d59dbd655322fd49a9b4e10844cc39f1097256.zip | |
Implement the alternate spellings of attributes aligned (as "align")
and const (as "__const") using tblgen, rather than explicitly hacking
them in.
llvm-svn: 155991
Diffstat (limited to 'clang/lib/Sema/AttributeList.cpp')
| -rw-r--r-- | clang/lib/Sema/AttributeList.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Sema/AttributeList.cpp b/clang/lib/Sema/AttributeList.cpp index f142ab4c0a3..f85fb3d467b 100644 --- a/clang/lib/Sema/AttributeList.cpp +++ b/clang/lib/Sema/AttributeList.cpp @@ -108,10 +108,8 @@ AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name) { return llvm::StringSwitch<AttributeList::Kind>(AttrName) #include "clang/Sema/AttrParsedAttrKinds.inc" .Case("address_space", AT_address_space) - .Case("align", AT_aligned) // FIXME - should it be "aligned"? .Case("base_check", AT_base_check) .Case("bounded", IgnoredAttribute) // OpenBSD - .Case("__const", AT_const) // some GCC headers do contain this spelling .Case("cf_returns_autoreleased", AT_cf_returns_autoreleased) .Case("mode", AT_mode) .Case("vec_type_hint", IgnoredAttribute) |

