clang-format: Consider operator precedence as penalty when breaking
authorDaniel Jasper <djasper@google.com>
Wed, 6 May 2015 14:23:38 +0000 (14:23 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 6 May 2015 14:23:38 +0000 (14:23 +0000)
commite92bf6f14178e24c2be4812ddb772b01995f9c79
tree5dcf91f114d024a8a180764cb39aea0e2f583093
parente452998b4bbda07a4ba22b034a109daa90d7519e
clang-format: Consider operator precedence as penalty when breaking
before operators.

This fixes llvm.org/23382.

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