Commit 8792fcfd authored by Christian Kamm's avatar Christian Kamm

C++ indenter: Fix preserving indent in comments with tabs.

Task-number: QTCREATORBUG-6151
Change-Id: I584666441dce05af9a91cd28812b230c36bdd830
Reviewed-on: default avatarChristian Kamm <>
parent 7bfde77d
......@@ -1342,7 +1342,7 @@ void QtStyleCodeFormatter::adjustIndent(const QList<CPlusPlus::Token> &tokens, i
if (topState.type == multiline_comment_start
|| topState.type == multiline_comment_cont) {
if (!tokens.isEmpty()) {
*indentDepth =;
*indentDepth = column(;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment