aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/AttributeList.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2010-12-12 23:03:07 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2010-12-12 23:03:07 +0000
commit7b381985353304a7723acb05911ff91634fa1f27 (patch)
treebb0bce8585fae284660000e930a08ebfd5134430 /lib/Sema/AttributeList.cpp
parent2c2c8dd0acb2a51067299bfcec9ff2145f2031c8 (diff)
Basic, Sema: add support for CUDA launch_bounds attribute
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121654 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/AttributeList.cpp')
-rw-r--r--lib/Sema/AttributeList.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/AttributeList.cpp b/lib/Sema/AttributeList.cpp
index b2ceb53cc5..789c17b7f0 100644
--- a/lib/Sema/AttributeList.cpp
+++ b/lib/Sema/AttributeList.cpp
@@ -130,6 +130,7 @@ AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name) {
.Case("global", AT_global)
.Case("host", AT_host)
.Case("shared", AT_shared)
+ .Case("launch_bounds", AT_launch_bounds)
.Case("common", AT_common)
.Case("nocommon", AT_nocommon)
.Default(UnknownAttribute);