]> granicus.if.org Git - clang/commit
Reduce penalty for breaking before ./-> after complex calls.
authorDaniel Jasper <djasper@google.com>
Thu, 14 Feb 2013 14:26:07 +0000 (14:26 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 14 Feb 2013 14:26:07 +0000 (14:26 +0000)
commitfc75908a7f58903a92c47e1ae02f9a05c36c9f59
treed67702c82082f18588d408954c76f20b186238cc
parent68a932d416c52cef609e2c6c79ae99cbf4b9acd6
Reduce penalty for breaking before ./-> after complex calls.

This gives a clearer separation of the context, e.g. in GMOCK
statements.

Before:
EXPECT_CALL(SomeObject,
            SomeFunction(Parameter)).WillRepeatedly(Return(SomeValue));

After:
EXPECT_CALL(SomeObject, SomeFunction(Parameter))
    .WillRepeatedly(Return(SomeValue));

Minor format cleanups.

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