llvm-project/clang/lib/Format
Alexander Kornienko 3a33f0292b Implemented GNU-style formatting for compound statements.
Summary:
Added BraceBreakingStyle::BS_GNU. I'm not sure about the correctness of
static initializer formatting, but compound statements should be fine.

Reviewers: djasper

Reviewed By: djasper

CC: cfe-commits, klimek

Differential Revision: http://llvm-reviews.chandlerc.com/D2372

llvm-svn: 197138
2013-12-12 09:49:52 +00:00
..
BreakableToken.cpp Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +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] clang/lib: Prune redundant dependencies. 2013-12-10 02:36:22 +00:00
ContinuationIndenter.cpp clang-format: Fix bad indentation of nested blocks. 2013-11-29 08:46:20 +00:00
ContinuationIndenter.h Simplify fix proposed in r195240. 2013-11-20 14:54:39 +00:00
Encoding.h Fix crash in getStringSplit. 2013-11-26 10:38:53 +00:00
Format.cpp Implemented GNU-style formatting for compound statements. 2013-12-12 09:49:52 +00:00
FormatToken.cpp clang-format: Be more conservative about braced list column layout. 2013-12-09 14:40:19 +00:00
FormatToken.h clang-format: Be more conservative about braced list column layout. 2013-12-09 14:40:19 +00:00
Makefile
TokenAnnotator.cpp Implemented GNU-style formatting for compound statements. 2013-12-12 09:49:52 +00:00
TokenAnnotator.h clang-format: Improve selective formatting of nested statements. 2013-11-28 15:58:55 +00:00
UnwrappedLineParser.cpp Implemented GNU-style formatting for compound statements. 2013-12-12 09:49:52 +00:00
UnwrappedLineParser.h Implemented GNU-style formatting for compound statements. 2013-12-12 09:49:52 +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