llvm-project/clang/lib
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
..
ARCMigrate ObjC migration: Skip over setter/getter with attributes 2013-07-08 22:49:25 +00:00
AST Use SmallVectorImpl::reverse_iterator instead of SmallVector to avoid specifying the vector size. 2013-07-08 03:55:09 +00:00
ASTMatchers Fix use of invalidated iterator bug in AST match finder. 2013-07-08 14:16:30 +00:00
Analysis Remove bogus VarDecl::extendsLifetimeOfTemporary function and inline it into 2013-06-27 21:43:17 +00:00
Basic Use SmallVectorImpl::reverse_iterator instead of SmallVector to avoid specifying the vector size. 2013-07-08 03:55:09 +00:00
CodeGen Simplify code. No functional change. 2013-07-08 04:47:18 +00:00
Driver Use llvm::sys::fs::createTemporaryFile. 2013-07-05 20:00:06 +00:00
Edit [Objective-C migrator] replace candidate user setter/getter with 2013-07-08 21:42:08 +00:00
Format Initial support for formatting trailing return types. 2013-07-09 14:36:48 +00:00
Frontend Use llvm::sys::fs::createUniqueFile. 2013-07-05 21:13:58 +00:00
FrontendTool With CLANG_ENABLE_STATIC_ANALYZER=0, link clang properly and skip clang-check. 2013-07-03 16:20:29 +00:00
Headers X86 intrinsics: cmpge|gt|nge|ngt_ss|_sd 2013-06-17 19:42:49 +00:00
Lex Don't give # and ## special treatment when in -traditional-cpp mode. Patch by 2013-07-09 01:00:29 +00:00
Parse ArrayRef'ize Sema::FinalizeDeclaratorGroup, Sema::BuildDeclaratorGroup and 2013-07-09 12:05:01 +00:00
Rewrite Use llvm::sys::fs::createUniqueFile. 2013-07-05 21:13:58 +00:00
Sema ArrayRef'ize Sema::FinalizeDeclaratorGroup, Sema::BuildDeclaratorGroup and 2013-07-09 12:05:01 +00:00
Serialization Use llvm::sys::fs::createUniqueFile. 2013-07-05 21:13:58 +00:00
StaticAnalyzer [analyzer] Fixup for r185609: actually do suppress warnings coming out of std::list. 2013-07-09 01:55:00 +00:00
Tooling Put helper class in anonymous namespace. 2013-07-01 06:34:58 +00:00
CMakeLists.txt Turn CLANG_ENABLE_{ARCMT,REWRITER,STATIC_ANALYZER} into proper options so that 2013-05-29 21:09:18 +00:00
Makefile Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user 2012-12-13 16:09:42 +00:00