[PATCH] D20171: Support for MSVS default calling convention options (/Gd, /Gz, /Gv, /Gr)

Alexander Makarov via cfe-commits cfe-commits at lists.llvm.org
Thu May 12 07:42:33 PDT 2016


a.makarov added inline comments.

================
Comment at: lib/AST/ASTContext.cpp:8616-8619
@@ +8615,6 @@
+      return CC_C;
+    case LangOptions::DCC_FastCall:
+      return CC_X86FastCall;
+    case LangOptions::DCC_StdCall:
+      return CC_X86StdCall;
+    case LangOptions::DCC_VectorCall:
----------------
rnk wrote:
> Neither fastcall nor stdcall can be applied to variadic functions.
As I've got from MSDN, **vectorcall** and stdcall cannot be applied to vararg functions. Are you sure about fastcall?)


http://reviews.llvm.org/D20171





More information about the cfe-commits mailing list