[PATCH] D119722: [clang][lex] Use `SearchDirIterator` types in for loops

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 14 07:35:01 PST 2022


jansvoboda11 created this revision.
jansvoboda11 added reviewers: ahoppen, Bigcheese, dexonsmith.
jansvoboda11 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This patch replaces a lot of index-based loops with iterators and ranges.

Depends on D117566 <https://reviews.llvm.org/D117566>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119722

Files:
  clang/include/clang/Lex/HeaderSearch.h
  clang/lib/Lex/HeaderSearch.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119722.408416.patch
Type: text/x-patch
Size: 12931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220214/5972cdb0/attachment-0001.bin>


More information about the cfe-commits mailing list