summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaCUDA.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Sema/SemaCUDA.cpp')
-rw-r--r--clang/lib/Sema/SemaCUDA.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaCUDA.cpp b/clang/lib/Sema/SemaCUDA.cpp
index 293baa55e08..abfe107d000 100644
--- a/clang/lib/Sema/SemaCUDA.cpp
+++ b/clang/lib/Sema/SemaCUDA.cpp
@@ -573,8 +573,4 @@ void Sema::CUDASetLambdaAttrs(CXXMethodDecl *Method) {
Method->addAttr(CUDADeviceAttr::CreateImplicit(Context));
Method->addAttr(CUDAHostAttr::CreateImplicit(Context));
}
-
- // TODO: nvcc doesn't allow you to specify __host__ or __device__ attributes
- // on lambdas in all contexts -- we should emit a compatibility warning where
- // we're more permissive.
}
OpenPOWER on IntegriCloud