[all-commits] [llvm/llvm-project] b65281: [Fixed Point] Fix C++20 compilation error
Antonio Frighetto via All-commits
all-commits at lists.llvm.org
Wed Jul 13 05:39:20 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b652815236325f60b2874a1134c98ba10206a569
https://github.com/llvm/llvm-project/commit/b652815236325f60b2874a1134c98ba10206a569
Author: Antonio Frighetto <me at antoniofrighetto.com>
Date: 2022-07-13 (Wed, 13 Jul 2022)
Changed paths:
M llvm/unittests/ADT/APFixedPointTest.cpp
Log Message:
-----------
[Fixed Point] Fix C++20 compilation error
Due to how operator== changed after operator<=> landing in C++20
(error: use of overloaded operator '==' is ambiguous (with operand
types 'const llvm::APSInt' and 'const unsigned long')),
CheckIntPartMin/CheckIntPartMax interfaces are now leveraging
APSInt::compareValues.
Differential Revision: https://reviews.llvm.org/D129567
More information about the All-commits
mailing list