pytorch/torch/csrc/jit/python
Aaron Gokaslan 3916d7a575 Apply modernize-use-emplace to aten, c10, torch (#91077)
Apply clang-tidy check modernize-use-emplace. This is slightly more efficient by using an inplace constructor and is the recommended style in parts of the codebase covered by clang-tidy. This just manually applies the check to rest of the codebase. Pinging @ezyang as this is related to my other PRs he reviewed like #89000

Pull Request resolved: https://github.com/pytorch/pytorch/pull/91077
Approved by: https://github.com/ezyang
2022-12-19 07:49:56 +00:00
..
init.cpp Apply modernize-use-emplace to aten, c10, torch (#91077) 2022-12-19 07:49:56 +00:00
init.h
module_python.h Improve torch::jit::as_{module,object} performance (#84399) 2022-09-07 16:58:28 +00:00
pybind_utils.cpp Unify SymIntNode and SymFloatNode into SymNode (#87817) 2022-10-27 20:56:02 +00:00
pybind_utils.h Fix: prefer .is_none() over .is(py::none()) for pybind11 (#88051) 2022-10-31 16:41:27 +00:00
pybind.h
python_arg_flatten.cpp
python_arg_flatten.h
python_custom_class.cpp
python_custom_class.h
python_dict.cpp
python_dict.h
python_interpreter.cpp
python_ir.cpp Apply modernize-use-emplace to aten, c10, torch (#91077) 2022-12-19 07:49:56 +00:00
python_ir.h
python_ivalue.h
python_list.cpp
python_list.h
python_sugared_value.cpp Apply modernize-use-emplace to aten, c10, torch (#91077) 2022-12-19 07:49:56 +00:00
python_sugared_value.h
python_tracer.cpp Use the Python frame safely in _pythonCallstack (#88993) 2022-11-17 00:59:15 +00:00
python_tracer.h Support unpacking python dictionary in torch.jit.trace() (#81623) 2022-10-15 05:33:09 +00:00
python_tree_views.cpp
python_tree_views.h
script_init.cpp Apply modernize-use-emplace to aten, c10, torch (#91077) 2022-12-19 07:49:56 +00:00
script_init.h
update_graph_executor_opt.cpp
update_graph_executor_opt.h