]> granicus.if.org Git - clang/commit
clang-format: Fix bug where clang-format would break the code.
authorDaniel Jasper <djasper@google.com>
Wed, 9 Apr 2014 12:21:48 +0000 (12:21 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 9 Apr 2014 12:21:48 +0000 (12:21 +0000)
commit8d475618089e8bb3d0e47605b236b445eaefab2d
tree808eadce4d2638fd9df5bc65dbdd98ba350abc2a
parent94096ad523611aa4c139c88ac5ec8985b46d6b1b
clang-format: Fix bug where clang-format would break the code.

Before, it would turn:
  SomeFunction([]() { // Cool function..
    return 43;
  });

Into this:
  SomeFunction([]() { // Cool function.. return 43; });

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205849 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/Format.cpp
unittests/Format/FormatTest.cpp