]> granicus.if.org Git - clang/commit
Improve handling of trailing declaration annotations.
authorDaniel Jasper <djasper@google.com>
Fri, 11 Jan 2013 14:23:32 +0000 (14:23 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 11 Jan 2013 14:23:32 +0000 (14:23 +0000)
commit7d19bc2c8882457e833dfe9741ac5a4a7198e46f
tree00d4f5cbb291783306f2cb6f324e30521b64972f
parent7e9bf8c249a5a9717447a00a8669596002a5569a
Improve handling of trailing declaration annotations.

Before:
void aaaaaaaaaaaa(int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) GUARDED_BY(
    aaaaaaaaaaaaa);

After:
void aaaaaaaaaaaa(int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
    GUARDED_BY(aaaaaaaaaaaaa);

Also did some formatting cleanups with clang-format on the way.

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