[PATCH] D20140: [CUDA] Do not allow non-empty destructors for global device-side variables.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Tue May 10 15:41:59 PDT 2016


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

lgtm, but I'd like Richard to sign off on this too.


================
Comment at: lib/Sema/SemaDecl.cpp:10438
@@ -10437,1 +10437,3 @@
 
+      // Also make sure that destructor, ifthere is one, is empty.
+      if (AllowedInit)
----------------
if there


http://reviews.llvm.org/D20140





More information about the cfe-commits mailing list