pytorch/torch/csrc/utils
cyy d0ad848aa5 Enable misc clang-tidy checks (#110283)
This PR enables the misc-XX checks in clang-tidy. Meanwhile, I excluded some of them that require a lot of code changes and have no immediate benefits. Some additional fixes and suppression were also given.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/110283
Approved by: https://github.com/albanD
2023-09-30 10:39:52 +00:00
..
byte_order.cpp
byte_order.h Make sure that little endian is default case when __BYTE_ORDER__ is not defined (#104249) 2023-07-27 13:33:35 +00:00
cpp_stacktraces.cpp
cpp_stacktraces.h
cuda_enabled.h
cuda_lazy_init.cpp
cuda_lazy_init.h
disable_torch_function.cpp
disable_torch_function.h
init.cpp [2/N] fix clang-tidy warnings in torch/csrc (#107966) 2023-08-27 18:06:21 +00:00
init.h
invalid_arguments.cpp [Reland] Move torch::make_unique to std::make_unique (#109780) 2023-09-21 18:30:21 +00:00
invalid_arguments.h
nested.cpp
nested.h
numpy_stub.h
object_ptr.cpp Do not call decref if python runtime is already dead (#106334) 2023-08-01 17:22:42 +00:00
object_ptr.h
out_types.cpp
out_types.h
pybind.cpp Add SingletonSymIntNode (#107089) 2023-08-24 21:38:47 +00:00
pybind.h Add const reference in opportunities detected by clang-tidy (#105931) 2023-07-26 21:38:10 +00:00
pycfunction_helpers.h
pyobject_preservation.cpp Reland 2: Add PyObject preservation for UntypedStorage (#109039) 2023-09-12 22:26:05 +00:00
pyobject_preservation.h Reland 2: Add PyObject preservation for UntypedStorage (#109039) 2023-09-12 22:26:05 +00:00
python_arg_parser.cpp Enable misc clang-tidy checks (#110283) 2023-09-30 10:39:52 +00:00
python_arg_parser.h Reland 2: Add PyObject preservation for UntypedStorage (#109039) 2023-09-12 22:26:05 +00:00
python_compat.h Initial Python 3.12 build fixes (#106083) 2023-08-25 13:23:48 +00:00
python_dispatch.cpp Make FunctionalTensor subclass to be more like functorch (interaction with ZeroTensor + Conjugate key) (#109023) 2023-09-22 07:09:04 +00:00
python_dispatch.h
python_numbers.h
python_raii.h Allow existing "Python RAII guards" to be used as context managers (#102579) 2023-05-31 19:55:38 +00:00
python_scalars.h Add torch.float8_e5m2 and torch.float8_e4m3 data types (#104242) 2023-07-20 16:09:11 +00:00
python_strings.h [2/N] fix clang-tidy warnings in torch/csrc (#107966) 2023-08-27 18:06:21 +00:00
python_stub.h
python_symnode.cpp
python_symnode.h Allow inferring size-nature from sizes passed to empty constructor (#109720) 2023-09-21 17:57:40 +00:00
python_torch_function_mode.h
python_tuples.h
pythoncapi_compat.h Add PyObject_CallMethodNoArgs to pythoncapi_compat.h (#105285) 2023-07-17 03:19:04 +00:00
schema_info.cpp
schema_info.h
six.h
structseq.cpp
structseq.h
tensor_apply.cpp
tensor_apply.h
tensor_dtypes.cpp [3/N] apply clang-tidy in torch/csrc/autograd (#109368) 2023-09-17 07:26:59 +00:00
tensor_dtypes.h
tensor_flatten.cpp
tensor_flatten.h [2/N] fix clang-tidy warnings in torch/csrc (#107966) 2023-08-27 18:06:21 +00:00
tensor_layouts.cpp
tensor_layouts.h
tensor_list.cpp Display subclass name when tolist() fails due to tensor subclass (#109376) 2023-09-15 19:42:39 +00:00
tensor_list.h
tensor_memoryformats.cpp
tensor_memoryformats.h
tensor_new.cpp Revert "[1/N] Cleanup header inclusions in torch_cpu by iwyu (#101178)" 2023-09-25 20:05:25 +00:00
tensor_new.h
tensor_numpy.cpp
tensor_numpy.h
tensor_qschemes.cpp
tensor_qschemes.h
tensor_types.cpp use std::initialization_list for vector literals (#108504) 2023-09-05 08:17:13 +00:00
tensor_types.h
throughput_benchmark-inl.h
throughput_benchmark.cpp [2/N] fix clang-tidy warnings in torch/csrc (#107966) 2023-08-27 18:06:21 +00:00
throughput_benchmark.h [RELAND] Remove some unnecessary <iostream> includes from headers (#108150) 2023-09-20 21:55:15 +00:00
torch_dispatch_mode.h [2/N] apply clang-tidy in torch/csrc/autograd (#109277) 2023-09-15 00:39:12 +00:00
variadic.cpp
variadic.h
verbose.cpp
verbose.h