aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/Basic/Attr.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/Attr.td b/include/clang/Basic/Attr.td
index 7d05b72a74..f4370113fd 100644
--- a/include/clang/Basic/Attr.td
+++ b/include/clang/Basic/Attr.td
@@ -267,7 +267,7 @@ def CUDAConstant : InheritableAttr {
let Spellings = ["constant"];
}
-def CUDADevice : Attr {
+def CUDADevice : InheritableAttr {
let Spellings = ["device"];
}
@@ -275,7 +275,7 @@ def CUDAGlobal : InheritableAttr {
let Spellings = ["global"];
}
-def CUDAHost : Attr {
+def CUDAHost : InheritableAttr {
let Spellings = ["host"];
}