Skip to content
Commit 7ca116ca authored by Justin Lebar's avatar Justin Lebar
Browse files

[CUDA] Make lambdas inherit __host__ and __device__ attributes from the scope...

[CUDA] Make lambdas inherit __host__ and __device__ attributes from the scope in which they're created.

Summary: NVCC compat.  Fixes bug 30567.

Reviewers: tra

Subscribers: cfe-commits, rnk

Differential Revision: https://reviews.llvm.org/D25105

llvm-svn: 282880
parent 0fad0ba6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment