forked from OSchip/llvm-project
31c85921b2
We now count the original token's column directly when lexing the tokens, where we already have all knowledge about where lines start. Before this patch, formatting: void f() { \tg(); \th(); } would incorrectly count the \t's as 1 character if only the line containing h() was reformatted, and thus indent h() at offset 1. llvm-svn: 189585 |
||
---|---|---|
.. | ||
BreakableToken.cpp | ||
BreakableToken.h | ||
CMakeLists.txt | ||
ContinuationIndenter.cpp | ||
ContinuationIndenter.h | ||
Encoding.h | ||
Format.cpp | ||
FormatToken.cpp | ||
FormatToken.h | ||
Makefile | ||
TokenAnnotator.cpp | ||
TokenAnnotator.h | ||
UnwrappedLineParser.cpp | ||
UnwrappedLineParser.h | ||
WhitespaceManager.cpp | ||
WhitespaceManager.h |