summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-05-11 23:37:49 +0000
committerDouglas Gregor <dgregor@apple.com>2012-05-11 23:37:49 +0000
commit87a170c1e60f0b0c109f4c94a96e4ba43ac160cb (patch)
treec6869305a0f2c122435cd44b7c6b0209cd6f7972 /clang/lib/Sema
parenta39c9bceeb75376fb574b5a279cf31390fa04986 (diff)
downloadbcm5719-llvm-87a170c1e60f0b0c109f4c94a96e4ba43ac160cb.tar.gz
bcm5719-llvm-87a170c1e60f0b0c109f4c94a96e4ba43ac160cb.zip
Teach the parser to deal with multiple spellings for the same
attribute, rather than requiring multiple cases in consumers of this information. llvm-svn: 156666
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaDeclAttr.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp
index 284a72e3399..93516501aac 100644
--- a/clang/lib/Sema/SemaDeclAttr.cpp
+++ b/clang/lib/Sema/SemaDeclAttr.cpp
@@ -3792,7 +3792,6 @@ static void ProcessInheritableDeclAttr(Sema &S, Scope *scope, Decl *D,
// by ProcessNonInheritableDeclAttr.
break;
case AttributeList::AT_alias: handleAliasAttr (S, D, Attr); break;
- case AttributeList::AT_align:
case AttributeList::AT_aligned: handleAlignedAttr (S, D, Attr); break;
case AttributeList::AT_always_inline:
handleAlwaysInlineAttr (S, D, Attr); break;
OpenPOWER on IntegriCloud