[clang][deps] NFC: Use range-based for loop instead of iterators
authorJan Svoboda <jan_svoboda@apple.com>
Wed, 16 Mar 2022 10:44:55 +0000 (11:44 +0100)
committerJan Svoboda <jan_svoboda@apple.com>
Wed, 16 Mar 2022 11:17:53 +0000 (12:17 +0100)
commit6007b0b67bcb7c446f012357e34d5cd3b6c58d88
tree8a2e4d52ae52977b96509987c3b73f8bf2ca17ea
parent77924d60efa8b3a0278361fe77403a71576c9349
[clang][deps] NFC: Use range-based for loop instead of iterators

The iterator is not needed after the loop body anymore, meaning we can use more terse range-based for loop.

Depends on D121295.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D121685
clang/lib/Lex/HeaderSearch.cpp