diff options
author | Alexander Kornienko <alexfh@google.com> | 2013-10-14 00:46:35 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2013-10-14 00:46:35 +0000 |
commit | e2e0387f3e48d6fde871cb388f7322b4239e7cc9 (patch) | |
tree | 1b481feacb0b257f1138e6563c257b525ee55246 /llvm/docs/tutorial | |
parent | c4a5a3f65d6b2c850f66f3496b1892a0673e4b1e (diff) | |
download | bcm5719-llvm-e2e0387f3e48d6fde871cb388f7322b4239e7cc9.tar.gz bcm5719-llvm-e2e0387f3e48d6fde871cb388f7322b4239e7cc9.zip |
Keep track of indentation levels in static initializers for correct indentation with tabs.
Summary:
Store IndentationLevel in ParentState and use it instead of the
Line::Level when indening.
Also fixed incorrect indentation level calculation in formatFirstToken.
Reviewers: djasper
Reviewed By: djasper
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D1797
llvm-svn: 192563
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions