pytorch/c10/test/core
Michael Andreas Dagitses ab2ca95dd1 turn on -Werror=unused-variable in our Bazel CPU build
Summary:
We also fix any existing issues. Note that we only do this for the CPU
build because nvcc is considered a C++ toolchain but it does not have
the same flag support. Adding flags to the GPU build will cause nvcc
errors.

Test Plan: Built locally, rely on CI to confirm.

Reviewers: malfet

Subscribers:

Tasks:

Tags:

Pull Request resolved: https://github.com/pytorch/pytorch/pull/79156

Approved by: https://github.com/seemethere, https://github.com/osalpekar, https://github.com/albanD
2022-06-11 02:46:34 +00:00
..
impl [symint] Make TensorImpl::sizes_and_strides_ contain SymInt 2022-05-25 20:54:51 +00:00
CompileTimeFunctionPointer_test.cpp Disable avoid-non-const-global-variables lint check (#62008) 2021-07-22 18:04:40 -07:00
Device_test.cpp [PyTorch] Add Device_test.cpp (#63203) 2021-08-17 09:22:35 -07:00
DeviceGuard_test.cpp Disable avoid-non-const-global-variables lint check (#62008) 2021-07-22 18:04:40 -07:00
DispatchKeySet_test.cpp turn on -Werror=unused-variable in our Bazel CPU build 2022-06-11 02:46:34 +00:00
StreamGuard_test.cpp
SymInt_test.cpp [symint] add support for negative integers 2022-05-20 03:46:29 +00:00