pytorch/torch/csrc/jit/python
cyy f27e09de04 Cleanup Windows warning suppression in CMake and fix some warnings in the source code (#94927)
This PR do two things:
1. It moves some Windows warning suppression from various CMake files into the main CMakeList.txt, following the conventions of gcc and clang.
2. It fixes some Windows warnings in the source code. Most importantly, it fixes lots of dll warnings by adjusting C10_API to TORCH_API or TORCH_PYTHON_API. There are still some dll warnings because some TORCH_API functions are actually built as part of libtorch_python

Pull Request resolved: https://github.com/pytorch/pytorch/pull/94927
Approved by: https://github.com/malfet
2023-02-27 19:22:20 +00:00
..
init.cpp Stub all TensorImpl bools; do not go to Python if not hinted. (#94431) 2023-02-15 21:06:42 +00:00
init.h
module_python.h
pybind_utils.cpp feature: adding the ability to restore shapes after loading a traced model (#90744) 2023-02-10 17:12:52 +00:00
pybind_utils.h Cleanup Windows warning suppression in CMake and fix some warnings in the source code (#94927) 2023-02-27 19:22:20 +00:00
pybind.h
python_arg_flatten.cpp [BE] Use nested namespaces in .cpp/.cu files (#92100) 2023-01-13 16:32:34 +00:00
python_arg_flatten.h
python_custom_class.cpp [BE] Use nested namespaces in .cpp/.cu files (#92100) 2023-01-13 16:32:34 +00:00
python_custom_class.h
python_dict.cpp Apply Clang-Tidy readability-container-size-empty (#93236) 2023-01-29 23:28:19 +00:00
python_dict.h
python_interpreter.cpp [BE] Use nested namespaces in .cpp/.cu files (#92100) 2023-01-13 16:32:34 +00:00
python_ir.cpp [jit] Support Awaitable type (#90863) 2023-01-30 17:38:59 +00:00
python_ir.h
python_ivalue.h
python_list.cpp Apply Clang-Tidy readability-container-size-empty (#93236) 2023-01-29 23:28:19 +00:00
python_list.h
python_sugared_value.cpp [jit] Support Awaitable type (#90863) 2023-01-30 17:38:59 +00:00
python_sugared_value.h Apply Clang-Tidy readability-container-size-empty (#93236) 2023-01-29 23:28:19 +00:00
python_tracer.cpp [BE] Use nested namespaces in .cpp/.cu files (#92100) 2023-01-13 16:32:34 +00:00
python_tracer.h
python_tree_views.cpp [BE] Use nested namespaces in .cpp/.cu files (#92100) 2023-01-13 16:32:34 +00:00
python_tree_views.h
script_init.cpp feature: adding the ability to restore shapes after loading a traced model (#90744) 2023-02-10 17:12:52 +00:00
script_init.h
update_graph_executor_opt.cpp [BE] Use nested namespaces in .cpp/.cu files (#92100) 2023-01-13 16:32:34 +00:00
update_graph_executor_opt.h