[PATCH] D21580: IR: Introduce Module::global_objects().

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 22 09:37:49 PDT 2016


pcc added inline comments.

================
Comment at: include/llvm/IR/Module.h:610
@@ -609,1 +609,3 @@
 
+  template<class IType, class GIType, class GOType, class MType>
+  class global_object_iterator_t {
----------------
rafael wrote:
> Why do you need the template?
> 
> MType is always Module, for example.
It may be either `Module` or `const Module`. The other parameters are similar (see `{,const_}global_object_iterator` below).


http://reviews.llvm.org/D21580





More information about the llvm-commits mailing list