]> granicus.if.org Git - clang/commit
Fixes multiple formatting bugs.
authorManuel Klimek <klimek@google.com>
Wed, 2 Jan 2013 18:33:23 +0000 (18:33 +0000)
committerManuel Klimek <klimek@google.com>
Wed, 2 Jan 2013 18:33:23 +0000 (18:33 +0000)
commit060143e4ad7f80c4349d472c06a63a953650c2a9
tree66bc38156700622107b3459855ba1ebc84892c0f
parent5eda31ee30106c769b5829683761d42e6e50467f
Fixes multiple formatting bugs.

Fixes:
- incorrect handling of multiple consecutive preprocessor directives
- crash when trying to right align the escpaed newline for a line that
  is longer than the column limit
- using only ColumnLimit-1 columns when layouting with escaped newlines
  inside preprocessor directives

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