diff options
author | Ivan Tadeu Ferreira Antunes Filho <antunesi@google.com> | 2025-04-09 18:54:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-09 18:54:37 -0400 |
commit | 433a63e117ebf22365ef1f3f595a49cbe9f0c88e (patch) | |
tree | 6116a919ce1a422cb876231ee8af5cba84c7ea2d /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 154507cf403e1859b9a81fa76af406e8489daa4b (diff) | |
download | llvm-433a63e117ebf22365ef1f3f595a49cbe9f0c88e.zip llvm-433a63e117ebf22365ef1f3f595a49cbe9f0c88e.tar.gz llvm-433a63e117ebf22365ef1f3f595a49cbe9f0c88e.tar.bz2 |
Fix ambiguous reversed operator error in sanitizer_mac.h (#135068)
Fixes error: ISO C++20 considers use of overloaded operator '==' (with
operand types 'MacosVersion' and 'MacosVersion') to be ambiguous despite
there being a unique best viable function
[-Werror,-Wambiguous-reversed-operator].
This converts the comparison operator from a non-symmetric operator
(const VersionBase<VersionType>& (as "this") and const VersionType &).
into a symmetric operator
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions