llvm-project/clang/lib/Format
Daniel Jasper 84a12e18d3 clang-format: Add spaces between lambdas and comments.
Before:
  void f() {
    bar([]() {}// Does not respect SpacesBeforeTrailingComments
        );
  }

After:
  void f() {
    bar([]() {} // Does not respect SpacesBeforeTrailingComments
        );
  }

This fixes llvm.org/PR19017.

llvm-svn: 203466
2014-03-10 15:06:25 +00:00
..
BreakableToken.cpp Preserve hanging indent when breaking line comments. 2014-03-10 13:14:56 +00:00
BreakableToken.h Remove extra whitespace instead of breaking the line in comments when possible. 2013-11-12 17:50:13 +00:00
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
ContinuationIndenter.cpp Replace OwningPtr with std::unique_ptr. 2014-03-07 20:03:18 +00:00
ContinuationIndenter.h Added an option to avoid splitting certain kinds of comments into lines. 2014-01-02 15:13:14 +00:00
Encoding.h Fix crash in getStringSplit. 2013-11-26 10:38:53 +00:00
Format.cpp Replace OwningPtr with std::unique_ptr. 2014-03-07 20:03:18 +00:00
FormatToken.cpp clang-format: Enable formatting of lambdas with explicit return type. 2014-01-16 09:11:55 +00:00
FormatToken.h [C++11] Replace OwningPtr include with <memory>. 2014-03-09 11:36:40 +00:00
Makefile
TokenAnnotator.cpp clang-format: Add spaces between lambdas and comments. 2014-03-10 15:06:25 +00:00
TokenAnnotator.h clang-format: Improve selective formatting of nested statements. 2013-11-28 15:58:55 +00:00
UnwrappedLineParser.cpp clang-format: Add spaces around trailing/lambda return types. 2014-03-10 10:02:02 +00:00
UnwrappedLineParser.h Replace OwningPtr with std::unique_ptr. 2014-03-07 20:03:18 +00:00
WhitespaceManager.cpp clang-format: Improve clang-format's detection about comment binding. 2013-11-08 23:31:14 +00:00
WhitespaceManager.h Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +00:00