We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46411c0 commit 0ca4bc0Copy full SHA for 0ca4bc0
src/tint/lang/core/constant/eval.cc
@@ -2013,7 +2013,7 @@ Eval::Result Eval::ShiftRight(const core::type::Type* ty,
2013
UT e1u = static_cast<UT>(e1);
2014
UT e2u = static_cast<UT>(e2);
2015
2016
- auto signed_shift_right = [&] {
+ [[maybe_unused]] auto signed_shift_right = [&] {
2017
// In C++, right shift of a signed negative number is implementation-defined.
2018
// Although most implementations sign-extend, we do it manually to ensure it works
2019
// correctly on all implementations.
0 commit comments