Add Microsoft mangling for _Float16
authorErich Keane <erich.keane@intel.com>
Tue, 17 Apr 2018 22:00:54 +0000 (22:00 +0000)
committerErich Keane <erich.keane@intel.com>
Tue, 17 Apr 2018 22:00:54 +0000 (22:00 +0000)
commit5da1e6915696a6ab4dd3cdc549c107b631cbf2ed
tree5dfaae5f9fd6562d037fa60b783c91bdb3bf2cd1
parent480b7bc906865fdde915844210ff1efbd88d3103
Add Microsoft mangling for _Float16

Enables _Float16 on Windows by creating a mangling
mechanism in MicrosoftMangle.  It accomplishes this by
mangling as a structure type of __clang::_Float16, similar
to how Complex works.

Patch By: mibintc
Differential Revision: https://reviews.llvm.org/D45738

llvm-svn: 330225
clang/lib/AST/MicrosoftMangle.cpp
clang/test/CodeGenCXX/mangle-ms.cpp