[CUDA] Handle attributes on CUDA lambdas appearing between [...] and (...).
authorJustin Lebar <jlebar@google.com>
Fri, 30 Sep 2016 17:14:48 +0000 (17:14 +0000)
committerJustin Lebar <jlebar@google.com>
Fri, 30 Sep 2016 17:14:48 +0000 (17:14 +0000)
commit0fad0ba6a9b0e4900a6e247831c83f665bde2a6b
treee5e0c5e8e82343c08c01a1a578e26ffd3e3e2505
parentc5ed65ca3049e279e47692435111f30c09bbaa6b
[CUDA] Handle attributes on CUDA lambdas appearing between [...] and (...).

Summary: This is ugh, but it makes us compatible with NVCC.  Fixes bug 26341.

Reviewers: rnk

Subscribers: cfe-commits, tra

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

llvm-svn: 282879
clang/lib/Parse/ParseExprCXX.cpp
clang/test/Parser/lambda-attr.cu [new file with mode: 0644]