commit | 3636fb126ffa22704c5eacb52fc5673247d8ad57 | [log] [tgz] |
---|---|---|
author | Hans Wennborg <hans@hanshq.net> | Tue Oct 08 21:52:56 2013 +0000 |
committer | Hans Wennborg <hans@hanshq.net> | Tue Oct 08 21:52:56 2013 +0000 |
tree | 1d697ff4041dca1517fabfa6003ff3bab2d66033 | |
parent | 372877ef93f7bdfa5f4e48a82922450610c7052f [diff] |
Turn error about fastcall variadic function into warning in MS mode (PR12535) MSVC allows this and silently falls back to __cdecl for variadic functions. This patch turns Clang's error into a warning in MS mode and adds a test to make sure we generate correct code. Differential Revision: http://llvm-reviews.chandlerc.com/D1861 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192240 91177308-0d34-0410-b5e6-96231b3b80d8