]> granicus.if.org Git - clang/commit
Allow breaking after the trailing const after a function declaration.
authorDaniel Jasper <djasper@google.com>
Thu, 17 Jan 2013 13:31:52 +0000 (13:31 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 17 Jan 2013 13:31:52 +0000 (13:31 +0000)
commit60ca75d4d1878f8a45799316f462d4d0114238b4
treed8cef0c3db5ef6365d49dfddeb425308b4a99e3d
parentdf96e022e95b8540c51e1bdaed03f66d851c6f93
Allow breaking after the trailing const after a function declaration.

Before:
void aaaaaaaaaaaa(int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) const GUARDED_BY(
    aaaaaaaaaaaaa);

After:
void aaaaaaaaaaaa(int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) const
    GUARDED_BY(aaaaaaaaaaaaa);

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