[PATCH] Replace a destructor of EHCleanupScope with a Destroy() method to reflect the current usage.

Reid Kleckner rnk at google.com
Tue Oct 7 18:11:00 PDT 2014


lgtm

================
Comment at: lib/CodeGen/CGCleanup.h:287
@@ -286,1 +286,3 @@
+  // Objects of EHCleanupScope are not destructed. Use Destroy().
+  ~EHCleanupScope() = delete;
 
----------------
This needs LLVM_DELETED_FUNCTION due to MSVC 2012.

http://reviews.llvm.org/D5656






More information about the cfe-commits mailing list