llvm-project/clang/unittests/Format
Daniel Jasper e12597cc23 [clang-format] Add support of consecutive declarations alignment
This allows clang-format to align identifiers in consecutive
declarations. This is useful for increasing the readability of the code
in the same way the alignment of assignations is.

The code is a slightly modified version of the consecutive assignment
alignment code. Currently only the identifiers are aligned, and there is
no support of alignment of the pointer star or reference symbol.

The patch also solve the issue of alignments not being possible due to
the ColumnLimit for both the existing AlignConsecutiveAligments and the
new AlignConsecutiveDeclarations.

Patch by Beren Minor, thank you.

Review: http://reviews.llvm.org/D12362
llvm-svn: 248999
2015-10-01 10:06:54 +00:00
..
CMakeLists.txt clang-format: Add initial #include sorting capabilities. 2015-09-23 08:30:47 +00:00
FormatTest.cpp [clang-format] Add support of consecutive declarations alignment 2015-10-01 10:06:54 +00:00
FormatTestJS.cpp clang-format: [JS] Support pseudo-keywords 2015-09-28 14:29:45 +00:00
FormatTestJava.cpp Remove accidental superfluous newline added in r247750. 2015-09-15 23:51:08 +00:00
FormatTestProto.cpp clang-format: [Proto] Handle enum bodies differently. 2015-07-16 14:25:43 +00:00
FormatTestSelective.cpp clang-format: NFC. Move testing of selective formatting to a separate file. 2015-06-15 15:25:11 +00:00
FormatTestUtils.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Makefile Refactor libTooling to reduce required dependencies. 2014-10-29 18:55:09 +00:00
SortIncludesTest.cpp clang-format: Extend #include sorting functionality 2015-09-29 07:53:08 +00:00