[all-commits] [llvm/llvm-project] c312f0: [STLExtras] Make indexed_accessor_range operator==...
Benjamin Kramer via All-commits
all-commits at lists.llvm.org
Sat May 21 04:06:08 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c312f025940d79b858166b80c50526558864d54e
https://github.com/llvm/llvm-project/commit/c312f025940d79b858166b80c50526558864d54e
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2022-05-21 (Sat, 21 May 2022)
Changed paths:
M llvm/include/llvm/ADT/STLExtras.h
M llvm/unittests/Support/IndexedAccessorTest.cpp
Log Message:
-----------
[STLExtras] Make indexed_accessor_range operator== compatible with C++20
This would be ambigious with itself when C++20 tries to lookup the
reversed form. I didn't find a use in LLVM, but MLIR does a lot of
comparisons of ranges of different types.
More information about the All-commits
mailing list