diff options
author | Reid Kleckner <rnk@google.com> | 2019-07-09 23:17:43 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-07-09 23:17:43 +0000 |
commit | 4586a19da86a8d78fa2b376cef1ef098b8e619f1 (patch) | |
tree | 3ff881061b027fd0d6f550eae05b16c0da0964aa /llvm/lib | |
parent | daf801bb11590327e96473f2e5564f486e2d19b2 (diff) | |
download | bcm5719-llvm-4586a19da86a8d78fa2b376cef1ef098b8e619f1.tar.gz bcm5719-llvm-4586a19da86a8d78fa2b376cef1ef098b8e619f1.zip |
[MS] Treat ignored explicit calling conventions as an explicit __cdecl
The CCCR_Ignore action is only used for Microsoft calling conventions,
mainly because MSVC does not warn when a calling convention would be
ignored by the current target. This behavior is actually somewhat
important, since windows.h uses WINAPI (which expands to __stdcall)
widely. This distinction didn't matter much before the introduction of
__vectorcall to x64 and the ability to make that the default calling
convention with /Gv. Now, we can't just ignore __stdcall for x64, we
have to treat it as an explicit __cdecl annotation.
Fixes PR42531
llvm-svn: 365579
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions