pytorch
3916d7a5 - Apply modernize-use-emplace to aten, c10, torch (#91077)

Commit
2 years ago
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
Author
Committer
Parents
Loading