]> granicus.if.org Git - clang/commit
[WinX86_64 ABI] Treat C99 _Complex as a struct
authorMichael Kuperstein <michael.m.kuperstein@intel.com>
Tue, 24 Feb 2015 09:35:58 +0000 (09:35 +0000)
committerMichael Kuperstein <michael.m.kuperstein@intel.com>
Tue, 24 Feb 2015 09:35:58 +0000 (09:35 +0000)
commitd62b6dead1cb75b7658e959a5d17b54e8f4fcf1e
tree79177a0e1e3608ecdf5c95e0c34b50abf8d527f0
parent749c5950dddf1ff4316e00b88d3d5f96abb2639a
[WinX86_64 ABI] Treat C99 _Complex as a struct

MSVC does not support C99 _Complex.
ICC, however, does support it on windows x86_64, and treats it, for purposes of parameter passing, as equivalent to a struct containing two fields (for the real and imaginary part).

Differential Revision: http://reviews.llvm.org/D7825

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230315 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/x86_64-arguments-win32.c