]> granicus.if.org Git - clang/commit
Indentation fixes for clang-format.
authorDaniel Jasper <djasper@google.com>
Wed, 5 Dec 2012 14:57:28 +0000 (14:57 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 5 Dec 2012 14:57:28 +0000 (14:57 +0000)
commit33182dd0f7d5b5e913b1957c2cb6dc04942efd46
treea8d086c525d12251e359b04347c001c91b2007d3
parent720ffb644400661b927c6359aac5677dab036ed4
Indentation fixes for clang-format.

- Fix behavior of memoization together with optimization
- Correctly attribute the PenaltyIndentLevel (breaking directly after "(" did
  not count towards the inner level)
- Recognize more tokens as assignments

Review: http://llvm-reviews.chandlerc.com/D172

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