[PATCH] D148954: [clang] Make access to submodules via `iterator_range`

Sergei Barannikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 24 02:51:15 PDT 2023


barannikov88 added inline comments.


================
Comment at: clang/include/clang/Basic/Module.h:744-747
-  submodule_iterator submodule_begin() { return SubModules.begin(); }
-  submodule_const_iterator submodule_begin() const {return SubModules.begin();}
-  submodule_iterator submodule_end()   { return SubModules.end(); }
-  submodule_const_iterator submodule_end() const { return SubModules.end(); }
----------------
There was no need to delete these, they were useful (e.g. the change in Sema.cpp).
Well, I guess I'm late.



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148954/new/

https://reviews.llvm.org/D148954



More information about the cfe-commits mailing list