llvm-project/clang/lib/Format
Alexander Kornienko db4c21f994 Correctly indent with tabs when whitespace starts from the column not divisible by TabWidth.
Summary:
The width of the first inserted tab character depends on the initial
column, so we need to handle the first tab in a special manner.

Reviewers: klimek, djasper

Reviewed By: klimek

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1763

llvm-svn: 191497
2013-09-27 09:45:40 +00:00
..
BreakableToken.cpp When in pre-c++11 mode, treat _T("xxx") as a single string literal, repeat the _T() part around each fragment. This addresses http://llvm.org/PR17122 2013-09-16 20:20:49 +00:00
BreakableToken.h When in pre-c++11 mode, treat _T("xxx") as a single string literal, repeat the _T() part around each fragment. This addresses http://llvm.org/PR17122 2013-09-16 20:20:49 +00:00
CMakeLists.txt clang-format: Add column layout formatting for braced lists 2013-08-22 15:00:41 +00:00
ContinuationIndenter.cpp clang-format: Fix formatting bug with comment in weird place. 2013-09-27 07:49:08 +00:00
ContinuationIndenter.h Correctly calculate OriginalColumn after multi-line tokens. 2013-09-10 12:29:48 +00:00
Encoding.h Handle zero-width and double-width characters in string literals and comments. 2013-09-05 14:08:34 +00:00
Format.cpp clang-format: Option to removing the space before assignment operators. 2013-09-25 15:15:02 +00:00
FormatToken.cpp clang-format: Fix incorrect enum parsing / layouting. 2013-09-13 09:20:45 +00:00
FormatToken.h Calculate and store ColumnWidth instead of CodePointCount in FormatTokens. 2013-09-10 09:38:25 +00:00
Makefile
TokenAnnotator.cpp clang-format: Improve formatting of functions with multiple trailing tokens. 2013-09-27 08:29:16 +00:00
TokenAnnotator.h clang-format: Don't accidentally move tokens into preprocessor directive. 2013-09-17 09:52:48 +00:00
UnwrappedLineParser.cpp clang-format: Detect braced lists in subscript expressions. 2013-09-13 10:55:31 +00:00
UnwrappedLineParser.h clang-format: Fix incorrect enum parsing / layouting. 2013-09-13 09:20:45 +00:00
WhitespaceManager.cpp Correctly indent with tabs when whitespace starts from the column not divisible by TabWidth. 2013-09-27 09:45:40 +00:00
WhitespaceManager.h Correctly indent with tabs when whitespace starts from the column not divisible by TabWidth. 2013-09-27 09:45:40 +00:00