llvm-project/clang
Reid Kleckner 4982b82b73 [ms-cxxabi] Use x86_cdeclmethodcc for __cdecl methods on win32
This fixes PR15768, where the sret parameter and the 'this' parameter
are in the wrong order.

Instance methods compiled by MSVC never return records in registers,
they always return indirectly through an sret pointer.  That sret
pointer always comes after the 'this' parameter, for both __cdecl and
__thiscall methods.

Unfortunately, the same is true for other calling conventions, so we'll
have to change the overall approach here relatively soon.

Reviewers: rsmith

Differential Revision: http://llvm-reviews.chandlerc.com/D2664

llvm-svn: 200587
2014-01-31 22:54:50 +00:00
..
INPUTS
bindings [libclang/python] Add CompilationDatabase.getAllCompileCommands to the python bindings. 2013-12-20 01:34:00 +00:00
docs [sanitizer] update the list of supported platforms in the docs 2014-01-31 10:49:34 +00:00
examples [CMake] Suppress SampleAnalyzerPlugin w/o ENABLE_STATIC_ANALYZER. 2014-01-31 11:19:09 +00:00
include [ms-cxxabi] Use x86_cdeclmethodcc for __cdecl methods on win32 2014-01-31 22:54:50 +00:00
lib [ms-cxxabi] Use x86_cdeclmethodcc for __cdecl methods on win32 2014-01-31 22:54:50 +00:00
runtime Macho-embedded: rename compiler-rt support from Darwin-embedded 2014-01-21 12:38:19 +00:00
test [ms-cxxabi] Use x86_cdeclmethodcc for __cdecl methods on win32 2014-01-31 22:54:50 +00:00
tools [CMake] arcmt-test: Reorganize link libraries with *actually referenced* libs from arcmt-test.cpp. 2014-01-31 18:09:49 +00:00
unittests clang-format: (JavaScript) Don't crash on empty string literals. 2014-01-31 12:49:42 +00:00
utils ARM & AArch64: share the BI__builtin_neon enum defs. 2014-01-30 14:47:51 +00:00
www Update debugging visualizers section. 2014-01-30 07:15:53 +00:00
.arcconfig
.clang-format Switch the default mode for clang-format to '-file'. Make 'LLVM' the 2013-09-02 07:42:02 +00:00
.gitignore
CMakeLists.txt [CMake] Apply llvm_update_compile_flags() to add_clang_library(). 2014-01-28 09:47:12 +00:00
CODE_OWNERS.TXT Adding myself as the code owner for the attribute subsystem. 2014-01-13 22:23:27 +00:00
INSTALL.txt
LICENSE.TXT Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
Makefile Define ENABLE_CLANG_EXAMPLES instead of relying on BUILD_EXAMPLES 2014-01-08 13:00:32 +00:00
ModuleInfo.txt
NOTES.txt
README.txt

README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:              http://clang.llvm.org/
Building and using Clang:          http://clang.llvm.org/get_started.html
Clang Static Analyzer:             http://clang-analyzer.llvm.org/
Information on the LLVM project:   http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang development mailing list:
  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/