[PATCH] D25103: [CUDA] Handle attributes on CUDA lambdas appearing between [...] and (...).

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 30 10:22:20 PDT 2016

rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.


> jlebar wrote in ParseExprCXX.cpp:1135
> nvcc doesn't seem to support __declspec attributes.
> I have no strong opinion on whether or not we should add them ourselves, though I guess I have a weak aversion to mucking with the parsing rules more than is necessary.  (I put off this patch for as long as I could while I tried to get nvcc to put the attributes in the right place.)

Nope, let's leave declspec alone then. :)


More information about the cfe-commits mailing list