llvm-project/clang/lib/Format
Daniel Jasper f9fc215f82 clang-format: Treat a trailing comment like a trailing comma in braced lists.
Before:
  static StructInitInfo module = {MODULE_BUILTIN, /* type */
                                  "streams" /* name */
  };

After:
  static StructInitInfo module = {
      MODULE_BUILTIN, /* type */
      "streams"       /* name */
  };

This fixes llvm.org/PR19378.

llvm-svn: 205851
2014-04-09 13:18:49 +00:00
..
BreakableToken.cpp Preserve hanging indent when breaking line comments. 2014-03-10 13:14:56 +00:00
BreakableToken.h [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-15 04:29:04 +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 format of calls with several lambdas. 2014-04-09 12:08:39 +00:00
ContinuationIndenter.h clang-format: Improve format of calls with several lambdas. 2014-04-09 12:08:39 +00:00
Encoding.h Fix crash in getStringSplit. 2013-11-26 10:38:53 +00:00
Format.cpp clang-format: Fix bug where clang-format would break the code. 2014-04-09 12:21:48 +00:00
FormatToken.cpp clang-format: Enable formatting of lambdas with explicit return type. 2014-01-16 09:11:55 +00:00
FormatToken.h clang-format: Support configurable list of foreach-macros. 2014-04-01 12:55:11 +00:00
Makefile
TokenAnnotator.cpp clang-format: Treat a trailing comment like a trailing comma in braced lists. 2014-04-09 13:18:49 +00:00
TokenAnnotator.h clang-format: Improve selective formatting of nested statements. 2013-11-28 15:58:55 +00:00
UnwrappedLineParser.cpp clang-format: Support configurable list of foreach-macros. 2014-04-01 12:55:11 +00:00
UnwrappedLineParser.h Replace OwningPtr with std::unique_ptr. 2014-03-07 20:03:18 +00:00
WhitespaceManager.cpp clang-format: Fix aligning of comments and escaped newlines in macros. 2014-03-28 15:06:01 +00:00
WhitespaceManager.h Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +00:00