[PATCH] D91088: [CUDA][HIP] Fix capturing reference to host variable
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 1 12:40:53 PST 2020
tra accepted this revision.
tra added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/lib/Sema/SemaExpr.cpp:1957
+// host variable in a device or host device lambda.
+static bool isCapturingReferenceToHostVarInCUDADeviceLambda(Sema &S,
+ VarDecl *VD) {
----------------
`const Sema&` ?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91088/new/
https://reviews.llvm.org/D91088
More information about the cfe-commits
mailing list