diff options
author | Jinsong Ji <jinsong.ji@intel.com> | 2024-10-18 13:07:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-18 13:07:37 -0400 |
commit | 6c60ead15a8932b30823a89b6686f7cee240f751 (patch) | |
tree | f847d314efdbf6d035289f87a4019d36a4bf45c3 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | a24a420c2b4854598ac24a571a8275bfaa1b9159 (diff) | |
download | llvm-6c60ead15a8932b30823a89b6686f7cee240f751.zip llvm-6c60ead15a8932b30823a89b6686f7cee240f751.tar.gz llvm-6c60ead15a8932b30823a89b6686f7cee240f751.tar.bz2 |
[NFC] Fix Werror=extra warning related to mismatched enum type (#112808)
This is one of the many PRs to fix errors with LLVM_ENABLE_WERROR=on.
Built by GCC 11.
Fix warnings:
llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp: In member
function ‘void llvm::AsmPrinter::emitJumpTableSizesSection(const
llvm::MachineJumpTableInfo*, const llvm::Function&) const’:
llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:2852:31: error:
enumerated and non-enumerated type in conditional expression
[-Werror=extra]
2852 | int Flags = F.hasComdat() ? ELF::SHF_GROUP : 0;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions