pytorch/c10/test/util
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
..
accumulate_test.cpp
Array_test.cpp
bfloat16_test.cpp use irange for loops 2 (#66746) 2021-12-10 04:26:23 -08:00
Bitset_test.cpp use irange for loops 2 (#66746) 2021-12-10 04:26:23 -08:00
C++17_test.cpp
complex_math_test_common.h
complex_math_test.cpp
complex_test_common.h [ROCm] Changes not to rely on CUDA_VERSION or HIP_VERSION (#65610) 2021-09-29 09:55:43 -07:00
complex_test.cpp
ConstexprCrc_test.cpp
DeadlockDetection_test.cpp torch/deadlockdetection: add TORCH_DISABLE_DEADLOCK_DETECTION env for use with torch deploy (#77270) 2022-05-12 00:10:59 +00:00
either_test.cpp
exception_test.cpp turn on -Werror=unused-function in our Bazel CPU build 2022-06-10 22:11:54 +00:00
flags_test.cpp
Half_test.cpp
intrusive_ptr_test.cpp turn on -Werror=unused-variable in our Bazel CPU build 2022-06-11 02:46:34 +00:00
irange_test.cpp
LeftRight_test.cpp
logging_test.cpp
Macros.h
Metaprogramming_test.cpp
optional_test.cpp support optional comparisons with different but comparable types (#62890) 2021-08-18 21:40:38 -07:00
ordered_preserving_dict_test.cpp Fix c10 sign-compare violations 2022-04-01 19:15:51 +00:00
registry_test.cpp
SmallVectorTest.cpp [PyTorch] Update SmallVector from LLVM (#69110) 2021-12-10 11:57:19 -08:00
string_view_test.cpp [PyTorch] remove string_view::operator[] bounds check (#64670) 2021-09-15 09:57:58 -07:00
Synchronized_test.cpp [PyTorch] Add unit test for c10::Synchronized<T> (#74110) 2022-03-16 16:18:36 +00:00
tempfile_test.cpp
ThreadLocal_test.cpp
typeid_test.cpp Stop exporting symbols in anonymous namespaces (#62952) 2021-08-09 12:52:12 -07:00
TypeIndex_test.cpp
TypeList_test.cpp
TypeTraits_test.cpp