pytorch
d8532e35 - [PyTorch] Split c10 Type.cpp into two files to allow targets to include one of them (#66445)

Commit
4 years ago
[PyTorch] Split c10 Type.cpp into two files to allow targets to include one of them (#66445) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/66445 `Type.cpp` implements `demangle()` function based on the macro `HAS_DEMANGLE`. This diff splits it into two `.cpps` so that we can add either one into the build target. This change follows the patternof `flags_use_no_gflags.cpp` and `flags_use_gflags.cpp`. Test Plan: Rely on CI Reviewed By: iseeyuan Differential Revision: D31551432 fbshipit-source-id: f8b11783e513fa812228ec873459ad3043ff9147
Author
Parents
Loading