diff options
author | Stephan T. Lavavej <stl@nuwen.net> | 2025-08-21 00:28:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-21 00:28:17 -0700 |
commit | f60ff00939a50065c45a32276e90f367c7e2c22a (patch) | |
tree | 8fd6cdd68c1c1d702c2eabf86e2cce53f7244bf7 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | b69fd34e7615db5c2a9ee53bc5ef19bb05ce7819 (diff) | |
download | llvm-f60ff00939a50065c45a32276e90f367c7e2c22a.zip llvm-f60ff00939a50065c45a32276e90f367c7e2c22a.tar.gz llvm-f60ff00939a50065c45a32276e90f367c7e2c22a.tar.bz2 |
[libcxx][test] Silence nodiscard warnings (#154622)
MSVC's STL marks `std::make_shared`, `std::allocate_shared`,
`std::bitset::to_ulong`, and `std::bitset::to_ullong` as
`[[nodiscard]]`, which causes these libcxx tests to emit righteous
warnings. They should use the traditional `(void)` cast technique to
ignore the return values.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions