hanchenye-llvm-project/clang/lib/Format
Daniel Jasper ba1b6bb667 clang-format: Keep '{' of dict literals on the same line in Allman style
Before:
  void f()
  {
    [object
        someMethod:@
        { @"a" : @"b" }];
  }

After:
  void f()
  {
    [object someMethod:@{ @"a" : @"b" }];
  }

This fixes llvm.org/PR19854.

llvm-svn: 209615
2014-05-26 07:24:34 +00:00
..
BreakableToken.cpp clang-format: Fix bug introduced by r208392. 2014-05-09 13:11:16 +00:00
BreakableToken.h Fix alignment of trailing block comments. 2014-04-17 16:12:46 +00:00
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
ContinuationIndenter.cpp clang-format: Fix corner case working around one-per-line dict literals. 2014-05-21 13:26:58 +00:00
ContinuationIndenter.h clang-format: [JS] Support different function literal style. 2014-05-21 12:51:23 +00:00
Encoding.h
Format.cpp Use error_code::success() instead of make_error_code(llvm::errc::success). 2014-05-22 22:06:08 +00:00
FormatToken.cpp clang-format: Fix bug introduced by r208392. 2014-05-09 13:11:16 +00:00
FormatToken.h clang-format: Fix bug introduced by r208392. 2014-05-09 13:11:16 +00:00
Makefile
TokenAnnotator.cpp clang-format: Keep '{' of dict literals on the same line in Allman style 2014-05-26 07:24:34 +00:00
TokenAnnotator.h [C++11] Use 'nullptr'. 2014-05-09 08:15:10 +00:00
UnwrappedLineParser.cpp clang-format: Fix braced list detection. 2014-05-22 12:46:38 +00:00
UnwrappedLineParser.h clang-format: Fix bug introduced by r208392. 2014-05-09 13:11:16 +00:00
WhitespaceManager.cpp clang-format: Fix bug introduced by r208392. 2014-05-09 13:11:16 +00:00
WhitespaceManager.h Fix alignment of trailing block comments. 2014-04-17 16:12:46 +00:00