__attribute__ notation which is supported on more platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60083
91177308-0d34-0410-b5e6-
96231b3b80d8
if (F->hasDLLExportLinkage()) Out << "__declspec(dllexport) ";
switch (F->getCallingConv()) {
case CallingConv::X86_StdCall:
- Out << "__stdcall ";
+ Out << "__attribute__((stdcall)) ";
break;
case CallingConv::X86_FastCall:
- Out << "__fastcall ";
+ Out << "__attribute__((fastcall)) ";
break;
}