]> granicus.if.org Git - clang/commit
Calculate the split penalty upfront.
authorDaniel Jasper <djasper@google.com>
Tue, 29 Jan 2013 15:03:01 +0000 (15:03 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 29 Jan 2013 15:03:01 +0000 (15:03 +0000)
commitadc6aba07293928122629e9d8a91a37144254831
treefbfcaacee25ece9f4720732543c28faff5d25136
parent1a1ce8330ba3248e36615adef3759ad22fc18c8d
Calculate the split penalty upfront.

This is
a) More efficient.
b) Important as we move forward with further metrics for penalty.

No functional changes intended.

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