[PATCH] D100581: [Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable
Arthur Eubanks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 16 10:53:03 PDT 2021
aeubanks added a comment.
-Wunused-but-set-variable is firing on `x` at [1]
[1] https://source.chromium.org/chromium/chromium/src/+/master:third_party/abseil-cpp/absl/synchronization/mutex.h;drc=07cb7b184515ad207d30f00d0b00b8ce96d0a750;l=947
../../third_party/abseil-cpp/absl/synchronization/mutex.h:947:6: error: variable 'x' set but not used [-Werror,-Wunused-but-set-variable]
T *x = static_cast<T *>(c->arg_);
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100581/new/
https://reviews.llvm.org/D100581
More information about the cfe-commits
mailing list