aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/AttributeList.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-12-02 02:45:55 +0000
committerEric Christopher <echristo@apple.com>2010-12-02 02:45:55 +0000
commita6cf1e709b96865210b81bd611d41e9a2d41500a (patch)
tree7457fa81e5da2e3e5075164bfb5afde7dd557c07 /lib/Sema/AttributeList.cpp
parent7b3982b40665e995ea62ca1b03923cbcc2391c14 (diff)
Add support for the common and nocommon attributes.
rdar://8560647 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120650 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/AttributeList.cpp')
-rw-r--r--lib/Sema/AttributeList.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Sema/AttributeList.cpp b/lib/Sema/AttributeList.cpp
index 409e2488bd..b2ceb53cc5 100644
--- a/lib/Sema/AttributeList.cpp
+++ b/lib/Sema/AttributeList.cpp
@@ -130,5 +130,7 @@ AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name) {
.Case("global", AT_global)
.Case("host", AT_host)
.Case("shared", AT_shared)
+ .Case("common", AT_common)
+ .Case("nocommon", AT_nocommon)
.Default(UnknownAttribute);
}