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 | f0fc89c358cdd0717c0e12eb4a90e4a6ce956e98 (patch) | |
| tree | c64ebcbfca145234391887686b7d082467ee578f /lib/CodeGen/CGExpr.cpp | |
| parent | 8bfc1e118169229960b90a4ef8761ee0eb296755 (diff) | |
| download | clang-f0fc89c358cdd0717c0e12eb4a90e4a6ce956e98.tar.gz clang-f0fc89c358cdd0717c0e12eb4a90e4a6ce956e98.tar.bz2 clang-f0fc89c358cdd0717c0e12eb4a90e4a6ce956e98.tar.xz | |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192563 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
