[CUDA] Remove incorrect comment in CUDASetLambdaAttrs.
authorJustin Lebar <jlebar@google.com>
Fri, 30 Sep 2016 19:55:59 +0000 (19:55 +0000)
committerJustin Lebar <jlebar@google.com>
Fri, 30 Sep 2016 19:55:59 +0000 (19:55 +0000)
commit7a406e78b3b67a7f5cd694f0cdcce1a23216bca1
tree0df172acaa934449be8aab48037f4aa55968e30c
parente46ea72d97e55039ff5a71ff50a154d8de28440b
[CUDA] Remove incorrect comment in CUDASetLambdaAttrs.

I'd said that nvcc doesn't allow you to add __host__ or __device__
attributes on lambdas in all circumstances, but I believe this was user
error on my part.  I can't reproduce these warnings/errors if I pass
--expt-extended-lambda to nvcc.

llvm-svn: 282912
clang/lib/Sema/SemaCUDA.cpp