[all-commits] [llvm/llvm-project] dfb213: Fix ambiguous overload build failure
Marcelo Juchem via All-commits
all-commits at lists.llvm.org
Fri Oct 1 06:21:18 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dfb213c2dfdc813efdaf399af5867288573de186
https://github.com/llvm/llvm-project/commit/dfb213c2dfdc813efdaf399af5867288573de186
Author: Marcelo Juchem <juchem at gmail.com>
Date: 2021-10-01 (Fri, 01 Oct 2021)
Changed paths:
M llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp
M llvm/tools/obj2yaml/elf2yaml.cpp
Log Message:
-----------
Fix ambiguous overload build failure
LLVM (llvmorg-14-init) under Debian sid using latest gcc (Debian
10.3.0-9) 10.3.0 fails due to ambiguous overload on operators == and !=:
/root/src/llvm/src/llvm/tools/obj2yaml/elf2yaml.cpp:212:22:
error: ambiguous overload for 'operator!='
(operand types are 'llvm::ELFYAML::ELF_SHF' and 'int')
/root/src/llvm/src/llvm/tools/obj2yaml/elf2yaml.cpp:204:32:
error: ambiguous overload for 'operator!='
(operand types are 'const llvm::yaml::Hex64' and 'int')
/root/src/llvm/src/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp:629:35:
error: ambiguous overload for 'operator=='
(operand types are 'const uint64_t' {aka 'const long unsigned int'} and
'llvm::Register')
Reviewed by: StephenTozer, jmorse, Higuoxing
Differential Revision: https://reviews.llvm.org/D109534
More information about the All-commits
mailing list