]> granicus.if.org Git - clang/commit
Correctly calculate OriginalColumn after multi-line tokens.
authorAlexander Kornienko <alexfh@google.com>
Tue, 10 Sep 2013 12:29:48 +0000 (12:29 +0000)
committerAlexander Kornienko <alexfh@google.com>
Tue, 10 Sep 2013 12:29:48 +0000 (12:29 +0000)
commit6f6154c5f5976e3e57f34f6a755bdfa95b7ff745
tree9ac1fba0d97a1f8eddea0c95afa9a41ae311af33
parentdb8afe424991b34884afb13ecf97ac458e41da9e
Correctly calculate OriginalColumn after multi-line tokens.

Summary: This also unifies the handling of escaped newlines for all tokens.

Reviewers: djasper

Reviewed By: djasper

CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D1638

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