llvm-project/clang
Reid Kleckner c0dca6ded7 MS ABI: Implement #pragma vtordisp() and clang-cl /vdN
These features are new in VS 2013 and are necessary in order to layout
std::ostream correctly.  Currently we have an ABI incompatibility when
self-hosting with the 2013 stdlib in our convertible_fwd_ostream wrapper
in gtest.

This change adds another implicit attribute, MSVtorDispAttr, because
implicit attributes are currently the best way to make sure the
information stays on class templates through instantiation.

Reviewers: majnemer

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

llvm-svn: 201274
2014-02-12 23:50:26 +00:00
..
INPUTS
bindings [libclang/python] Add CompilationDatabase.getAllCompileCommands to the python bindings. 2013-12-20 01:34:00 +00:00
docs Fix indentation of a code example in LibTooling's documentation. 2014-02-06 20:16:05 +00:00
examples [examples] Use loadable modules instead of shared libraries for Clang plugins. 2014-02-12 21:04:23 +00:00
include MS ABI: Implement #pragma vtordisp() and clang-cl /vdN 2014-02-12 23:50:26 +00:00
lib MS ABI: Implement #pragma vtordisp() and clang-cl /vdN 2014-02-12 23:50:26 +00:00
runtime Macho-embedded: rename compiler-rt support from Darwin-embedded 2014-01-21 12:38:19 +00:00
test MS ABI: Implement #pragma vtordisp() and clang-cl /vdN 2014-02-12 23:50:26 +00:00
tools libclang: report error code for bad PCH files 2014-02-12 19:12:37 +00:00
unittests Add Multilib selection machinery 2014-02-12 03:21:20 +00:00
utils Attributes: Avoid a big useless copy in the emitter 2014-02-12 19:26:24 +00:00
www Tests for DR351-370, plus update DR status page to match the latest core issue list. 2014-02-10 19:53:17 +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 Fix Clang install rules to not set permissions on include/ 2014-02-10 10:51:09 +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 Reverting test commit 2013-06-07 05:33:21 +00:00
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/