Go to file
Reid Kleckner 2e0717e129 Downgrade error about stdcall decls with no prototype to a warning
Fixes PR21027.  The MIDL compiler produces code that does this.

If we wanted to improve the warning, I think we could do this:
  void __stdcall f(); // Don't warn without -Wstrict-prototypes.
  void g() {
    f(); // Might warn, the user probably meant for f to take no args.
    f(1, 2, 3); // Warn, we have no idea what args f takes.
    f(1); // Error, this is insane, one of these calls is broken.
  }

Reviewers: thakis

Differential Revision: http://reviews.llvm.org/D5481

llvm-svn: 218394
2014-09-24 17:49:24 +00:00
clang Downgrade error about stdcall decls with no prototype to a warning 2014-09-24 17:49:24 +00:00
clang-tools-extra Drop superfluous semicolon. GCC's -pedantic warns about this. 2014-09-23 14:46:55 +00:00
compiler-rt [asan] Fix one test on Android-L. 2014-09-23 15:42:04 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Remove more redundant semi-colons 2014-09-18 09:23:40 +00:00
libcxx Mark module atomic as cplusplus11. 2014-09-24 04:44:54 +00:00
libcxxabi Adding ABI support for __cxa_throw_bad_array_new_length. 2014-09-11 17:26:43 +00:00
lld [PECOFF] Exported name should match C++ mangled name 2014-09-24 02:01:10 +00:00
lldb Adjust to LLVM JIT API change 2014-09-24 15:55:47 +00:00
llvm Revert "Refactor the RelocVisitor::visit method" 2014-09-24 17:49:07 +00:00
openmp Fix a crash that occurred under obscure circumstances during library shutdown 2014-09-03 11:34:33 +00:00
polly [www] Update formatting of news feed 2014-09-22 07:37:12 +00:00