]> granicus.if.org Git - clang/commit
clang-format: When putting */& next to types, also wrap before them.
authorDaniel Jasper <djasper@google.com>
Thu, 12 Mar 2015 15:04:53 +0000 (15:04 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 12 Mar 2015 15:04:53 +0000 (15:04 +0000)
commit43df2eea67c6fa2f3ee46ecdf270d14cbbf74349
treeac7ea7ad7b084409980630c8f55a6592f4dd6ff8
parentd216a8f7c6428c38f63f61b94ea77af31f2dc8db
clang-format: When putting */& next to types, also wrap before them.

Before:
  LoooooooooooongType *
      loooooooooooongVariable;

After:
  LoooooooooooongType
      *loooooooooooongVariable;

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