]> granicus.if.org Git - clang/commit
Fix formatting of long declarations with const type.
authorDaniel Jasper <djasper@google.com>
Tue, 2 Jul 2013 09:47:29 +0000 (09:47 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 2 Jul 2013 09:47:29 +0000 (09:47 +0000)
commit6ac431c7bae27a42351d2c2ad03dddd5b005ffd5
tree9840114e6000cbe8bd1367d4e3ec70ea4ea94c73
parented2e2de580f840385f25a188ed48d2a14948af76
Fix formatting of long declarations with const type.

Before (exceeding the column limit):
LoooooooooooooooooooooooooooooooooooooooongType const LoooooooooooooooooooooooooooooooooooooooongVariable;

After:
LoooooooooooooooooooooooooooooooooooooooongType const
LoooooooooooooooooooooooooooooooooooooooongVariable;

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