llvm-project/clang/lib/Format
Daniel Jasper ad981f888a clang-format: New option SpacesInSquareBrackets.
Before:
  int a[5];
  a[3] += 42;

After:
  int a[ 5 ];
  a[ 3 ] += 42;

Fixes LLVM bug #17887 (http://llvm.org/bugs/show_bug.cgi?id=17887).

Patch by Marek Kurdej, thank you!

llvm-svn: 216449
2014-08-26 11:41:14 +00:00
..
BreakableToken.cpp clang-format: Fix bug introduced by r208392. 2014-05-09 13:11:16 +00:00
BreakableToken.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +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: Improve formatting of nested builder-type calls. 2014-08-25 08:48:17 +00:00
ContinuationIndenter.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Encoding.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Format.cpp clang-format: New option SpacesInSquareBrackets. 2014-08-26 11:41:14 +00:00
FormatToken.cpp clang-format: Format long lists in columns if without bin-packing. 2014-08-13 08:46:21 +00:00
FormatToken.h clang-format: Improve handling of block comments in braced lists. 2014-08-26 09:37:52 +00:00
Makefile
TokenAnnotator.cpp clang-format: New option SpacesInSquareBrackets. 2014-08-26 11:41:14 +00:00
TokenAnnotator.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
UnwrappedLineParser.cpp Fixes bug 20587 - Add K&R break before braces style 2014-08-11 12:18:01 +00:00
UnwrappedLineParser.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
WhitespaceManager.cpp clang-format: Fix bug introduced by r208392. 2014-05-09 13:11:16 +00:00
WhitespaceManager.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00