aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2025-04-10 19:05:26 -0700
committerGitHub <noreply@github.com>2025-04-10 19:05:26 -0700
commit862e7190c9d4672d3adf1bbde95b556c8e2d7544 (patch)
tree3b2959468cbdcca9dd197fb92d18ef4984b404b2 /llvm/lib/CodeGen/MachineOperand.cpp
parent9aff19e7a3ff22ad15dc52609c65c785d4621fca (diff)
downloadllvm-862e7190c9d4672d3adf1bbde95b556c8e2d7544.zip
llvm-862e7190c9d4672d3adf1bbde95b556c8e2d7544.tar.gz
llvm-862e7190c9d4672d3adf1bbde95b556c8e2d7544.tar.bz2
Reland "Replace bool operator== for VersionType in sanitizer_mac.h" (#135276)
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 Relands #135068 Co-authored-by: Ivan Tadeu Ferreira Antunes Filho <antunesi@google.com>
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions