hanchenye-llvm-project/clang/lib/Format
Daniel Jasper 8ddfa8489b clang-format: Enable formatting of protocol buffer definitions.
Almost by accident, clang-format seems to be able to format protocol
buffer definitions (https://code.google.com/p/protobuf/).

The only change is that a space is required between numeric constants
and opening square brackets (for default values). While this might in
theory be used for array subscripts (int val = 4[MyArray]), I have not
seen this pattern in practice much. If this is wrong, we can make this
smarter in the future.

llvm-svn: 189663
2013-08-30 10:36:58 +00:00
..
BreakableToken.cpp Revert r187935 "Support for double width characters." 2013-08-08 02:19:56 +00:00
BreakableToken.h Reformat clang-format's source files after r185822 and others. 2013-07-08 14:34:09 +00:00
CMakeLists.txt clang-format: Add column layout formatting for braced lists 2013-08-22 15:00:41 +00:00
ContinuationIndenter.cpp clang-format: Fix incorrect indentation. 2013-08-30 08:29:25 +00:00
ContinuationIndenter.h Better support for multiline string literals (including C++11 raw string literals). 2013-08-29 17:32:57 +00:00
Encoding.h Reformat clang-format's source files after r185822 and others. 2013-07-08 14:34:09 +00:00
Format.cpp Better support for multiline string literals (including C++11 raw string literals). 2013-08-29 17:32:57 +00:00
FormatToken.cpp clang-format: Fix bug in column layout. 2013-08-27 08:43:47 +00:00
FormatToken.h Better support for multiline string literals (including C++11 raw string literals). 2013-08-29 17:32:57 +00:00
Makefile
TokenAnnotator.cpp clang-format: Enable formatting of protocol buffer definitions. 2013-08-30 10:36:58 +00:00
TokenAnnotator.h clang-format: Revamp builder-type call formatting. 2013-08-27 11:09:05 +00:00
UnwrappedLineParser.cpp clang-format: Improve recovery from enums with errors. 2013-08-30 10:10:19 +00:00
UnwrappedLineParser.h clang-format: Add more options to namespace indentation. 2013-07-31 23:16:02 +00:00
WhitespaceManager.cpp clang-format: Fix infinite loop in macro special case. 2013-08-28 09:07:32 +00:00
WhitespaceManager.h Reformat clang-format's source files after r185822 and others. 2013-07-08 14:34:09 +00:00