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)
commitfefb1e625743e84068d01a66098d60814197bdbd
treeaa3dbaafed512a94285fb9695cf477ff54d94a5b
parent769af0737297a79486cd48621d0a16856d8e1ccf
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);

llvm-svn: 172718
clang/lib/Format/Format.cpp
clang/unittests/Format/FormatTest.cpp