summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/AttributeList.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-05-02 15:56:52 +0000
committerDouglas Gregor <dgregor@apple.com>2012-05-02 15:56:52 +0000
commitb2daf8416e93ac32dbeb9ec606f590e9f2fde679 (patch)
treedeb5f3e5cb98ed87492c989204179e938df2fa21 /clang/lib/Sema/AttributeList.cpp
parentba2e8aeda5e1789abb5d4aabcfe61bdf380aa638 (diff)
downloadbcm5719-llvm-b2daf8416e93ac32dbeb9ec606f590e9f2fde679.tar.gz
bcm5719-llvm-b2daf8416e93ac32dbeb9ec606f590e9f2fde679.zip
Introduce the notion of an attribute that has no direct representation
as an AST node, and fold a number of such attributes into Attr.td. llvm-svn: 155995
Diffstat (limited to 'clang/lib/Sema/AttributeList.cpp')
-rw-r--r--clang/lib/Sema/AttributeList.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/clang/lib/Sema/AttributeList.cpp b/clang/lib/Sema/AttributeList.cpp
index f85fb3d467b..dd478f2a2b0 100644
--- a/clang/lib/Sema/AttributeList.cpp
+++ b/clang/lib/Sema/AttributeList.cpp
@@ -107,18 +107,7 @@ 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("base_check", AT_base_check)
.Case("bounded", IgnoredAttribute) // OpenBSD
- .Case("cf_returns_autoreleased", AT_cf_returns_autoreleased)
- .Case("mode", AT_mode)
.Case("vec_type_hint", IgnoredAttribute)
- .Case("ext_vector_type", AT_ext_vector_type)
- .Case("neon_vector_type", AT_neon_vector_type)
- .Case("neon_polyvector_type", AT_neon_polyvector_type)
- .Case("opencl_image_access", AT_opencl_image_access)
- .Case("objc_gc", AT_objc_gc)
- .Case("objc_ownership", AT_objc_ownership)
- .Case("vector_size", AT_vector_size)
.Default(UnknownAttribute);
}
OpenPOWER on IntegriCloud