[llvm] [llvm][ADT] Some AddressRanges.h improvements (PR #132847)

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 25 05:37:02 PDT 2025


================
@@ -124,8 +127,8 @@ class AddressRanges : public AddressRangesBase<AddressRange> {
     if (Range.empty())
       return Ranges.end();
 
-    auto It = llvm::upper_bound(Ranges, Range);
-    auto It2 = It;
+    auto *It = upper_bound(Ranges, Range);
+    auto *It2 = It;
----------------
kuhar wrote:

yes

https://github.com/llvm/llvm-project/pull/132847


More information about the llvm-commits mailing list