]> granicus.if.org Git - clang/commit
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)
commit928958d3756d7bc74399bb9d6489bb7b7361398a
treea1b4769d462d1ef7998c317a6416f8bb06ed28bd
parent07bff7a3649109a9b2029e44c1ab8ee9bf9398eb
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330225 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/MicrosoftMangle.cpp
test/CodeGenCXX/mangle-ms.cpp