[PATCH] D51809: [CUDA][HIP] Fix ShouldDeleteSpecialMember for inherited constructors

Justin Lebar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 6 15:36:58 PDT 2018


jlebar accepted this revision.
jlebar added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/Sema/SemaDeclCXX.cpp:7231
+    if (ICI)
+      CSM = getSpecialMember(MD);
+
----------------
LGTM, but perhaps we should use a new variable instead of modifying `CSM` in case someone adds code beneath this branch?


https://reviews.llvm.org/D51809





More information about the cfe-commits mailing list