diff options
author | Casey Carter <Casey@Carter.net> | 2023-01-05 19:28:21 -0800 |
---|---|---|
committer | Casey Carter <Casey@Carter.net> | 2023-01-06 10:02:25 -0800 |
commit | bdf7da280f624c53e6184d0410041220a9b405a7 (patch) | |
tree | 01aa0dc21e034c14eecee1d1939f52a4f3ee712d /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 70a5d8e4c469195e9302dba2c5a9518a69e0773e (diff) | |
download | llvm-bdf7da280f624c53e6184d0410041220a9b405a7.zip llvm-bdf7da280f624c53e6184d0410041220a9b405a7.tar.gz llvm-bdf7da280f624c53e6184d0410041220a9b405a7.tar.bz2 |
[libc++][test] Suppress MSVC warnings in std::expected tests
* initializing `short`s with `short`s instead of `int`s to avoid narrowing warnings
* Explicitly discard the result of `value` calls to avoid `[[nodiscard]]` warnings
Drive-by: `testException` from `value` test is duplicated in `value_or` test; remove the duplicate.
Differential Review: https://reviews.llvm.org/D141108
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions