]> granicus.if.org Git - clang/commit
clang-format: Fix formatting bug with comment in weird place.
authorDaniel Jasper <djasper@google.com>
Fri, 27 Sep 2013 07:49:08 +0000 (07:49 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 27 Sep 2013 07:49:08 +0000 (07:49 +0000)
commit48c099f45400e37ec1cde7de5eaee5cce65dbd42
tree2d2264a0d58bc74e7958e2779db1d0e81c14a124
parentfe16aa31fdfaad4c38aed443d853af293714f1c4
clang-format: Fix formatting bug with comment in weird place.

Before:
  template <typename T>
  // T should be one of {A, B}.
      void f() {}

After:
  template <typename T>
  // T should be one of {A, B}.
  void f() {}

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