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

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 14 09:25:01 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}}
----------------
Keep this test, add a line like this:
  // expected-no-diagnostics
And remove the rest of the diagnostic expectations.


http://reviews.llvm.org/D12034





More information about the cfe-commits mailing list