commit | 9a0b494f999dfd47152565f7bbeaa69b3fef8feb | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Mon Dec 17 14:34:14 2012 +0000 |
committer | Daniel Jasper <djasper@google.com> | Mon Dec 17 14:34:14 2012 +0000 |
tree | 33aeefdc50fc77eda89d3bb8cccae3acf5cba64d | |
parent | 61dde19d72a86ad180840ff858fa9a688de81bbc [diff] |
Add basic support for splitting before function calls if it can't be avoided. This required a minor modification of the memoization as now the "CurrentPenalty" depends on whether or not we break before the current token. Therefore, the CurrentPenalty should not be memoized but added after retrieving a value from memory. This should not affect the runtime behavior. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170337 91177308-0d34-0410-b5e6-96231b3b80d8