[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 05:53:09 PDT 2016
a.makarov added inline comments.
================
Comment at: lib/AST/ASTContext.cpp:8604-8606
@@ -8603,5 +8603,5 @@
bool IsCXXMethod) const {
// Pass through to the C++ ABI object
if (IsCXXMethod)
return ABI->getDefaultMethodCallConv(IsVariadic);
----------------
majnemer wrote:
> rnk wrote:
> > majnemer wrote:
> > > Do these flags not have an effect on methods?
> > Nope:
> > https://msdn.microsoft.com/en-us/library/46t77ak2.aspx
> > "for all functions except C++ member functions..."
> Yeah, that's what the documentation says. But do they really have no effect? :)
Yes, I've checked. Member functions are not affected =)
http://reviews.llvm.org/D20171
More information about the cfe-commits
mailing list