In file clang/lib/Basic/Module.cpp the Module class had submodule_begin() and submodule_end() functions to retrieve corresponding iterators for private vector of Modules. This commit removes mentioned functions, and replaces all of theirs usages with submodules() function and range-based for-loops.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/include/clang/Basic/Module.h | ||
---|---|---|
744–747 | There was no need to delete these, they were useful (e.g. the change in Sema.cpp). |
There was no need to delete these, they were useful (e.g. the change in Sema.cpp).
Well, I guess I'm late.