hanchenye-llvm-project/clang
Daniel Jasper 6cdec7cf05 Initial support for formatting trailing return types.
This fixes llvm.org/PR15170.

For now, the basic formatting rules are (based on the C++11 standard):
* Surround the "->" with spaces.
* Break before "->".

Also fix typo.

llvm-svn: 185938
2013-07-09 14:36:48 +00:00
..
INPUTS
bindings Comment parsing: allow "\param ..." to describe variadic arguments 2013-06-24 04:41:32 +00:00
docs [analyzer] Add a debug checker that prints Exploded Graph 2013-06-24 18:12:12 +00:00
examples Remove unused header. 2013-06-26 13:49:47 +00:00
include ArrayRef'ize Sema::FinalizeDeclaratorGroup, Sema::BuildDeclaratorGroup and 2013-07-09 12:05:01 +00:00
lib Initial support for formatting trailing return types. 2013-07-09 14:36:48 +00:00
runtime The makefile build system had two lists of the 32-bit runtime libraries 2013-06-23 10:10:25 +00:00
test [analyzer] Fixup for r185609: actually do suppress warnings coming out of std::list. 2013-07-09 01:55:00 +00:00
tools c-index-test/CMakeLists.txt: Suggest -isystem to include libxml2 with include_directories(SYSTEM). 2013-07-09 11:14:30 +00:00
unittests Initial support for formatting trailing return types. 2013-07-09 14:36:48 +00:00
utils [NeonIntrinsicTestEmitter] vld1/vst1 do not require the :64 hint. 2013-06-24 21:25:39 +00:00
www + "For Windows Users" section 2013-06-28 19:21:11 +00:00
.arcconfig
.gitignore Reverted unintendedly-committed file. 2013-01-31 19:05:31 +00:00
CMakeLists.txt Retain linker flags specified on cmake command line. 2013-06-12 20:02:59 +00:00
CODE_OWNERS.TXT Revert r185557 as it was a bit (a lot) premature. 2013-07-03 20:37:50 +00:00
INSTALL.txt Reverting test commit 2013-06-07 05:33:21 +00:00
LICENSE.TXT
Makefile
ModuleInfo.txt
NOTES.txt Remove an uninteresting note 2013-02-05 21:13:55 +00:00
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/