caffe2::TypeInfo fix when using clang-cl on Windows (#31364)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/31364
clang-cl defines both `_MSC_VER` and `__clang__`. Names are mangled clang style though. calling `extract` with the wrong name mangling pattern will throw `std::logic_error`. This crashes on Windows when `get_fully_qualified_type_name` is called because it is marked with `noexcept`.
Test Plan: Windows builds no longer crash on startup.
Reviewed By: mattjgalloway
Differential Revision: D19142064
fbshipit-source-id: 516b9b63daeff30f5c097d192b0971c7a42db57e