[PATCH] D12034: WindowsARM: ignore calling conventions as described on MSDN

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 14 10:13:02 PDT 2015

rnk added inline comments.

Comment at: test/Parser/arm-windows-calling-convention-handling.c:2
@@ -1,3 @@
-// RUN: %clang_cc1 -triple thumbv7-windows -fms-compatibility -fsyntax-only -verify %s
-int __cdecl cdecl(int a, int b, int c, int d) { // expected-warning {{calling convention '__cdecl' ignored for this target}}
martell wrote:
> rnk wrote:
> > Keep this test, add a line like this:
> >   // expected-no-diagnostics
> > And remove the rest of the diagnostic expectations.
> Sure I can do that :)
> Will I add the same test for x64 as I don't see any?
Sure, copy-paste the RUN line and replace thumb7 with x86_64.


More information about the cfe-commits mailing list