[Sema] Make more overload candidate types use iterator_ranges (NFC)
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 7 Dec 2020 18:34:53 +0000 (18:34 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Mon, 7 Dec 2020 18:34:53 +0000 (18:34 +0000)
commitfd14a2753368bc13468d6207daccba1c45ce79e6
tree4fc05ae500ac52488650397a7df03fc93d4042c7
parent5c819eb38935cb7ec30ed3c3ef2ffe1ef6420792
[Sema] Make more overload candidate types use iterator_ranges (NFC)

I have a patch that adds another group of candidate types to
BuiltinCandidateTypeSet.  Currently two styles are in use: the older
begin/end pairs and the newer iterator_range approach.  I think the
group of candidates that I want to add should use iterator ranges,
but I'd also like to consolidate the handling of the new candidates
with some existing code that uses begin/end pairs.  This patch therefore
converts the begin/end pairs to iterator ranges as a first step.

No functional change intended.

Differential Revision: https://reviews.llvm.org/D92222
clang/lib/Sema/SemaOverload.cpp