forked from qt-creator/qt-creator
ClangFormat: Remove reference from const parameter
Offset is never changed anymore in this function. Change-Id: I5a38fcbd983bbd855b9d72888d67125276a6bf34 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -163,7 +163,7 @@ int previousEmptyLinesLength(const QTextBlock ¤tBlock)
|
||||
return length;
|
||||
}
|
||||
|
||||
void modifyToIndentEmptyLines(QByteArray &buffer, int &offset, int &length, const QTextBlock &block)
|
||||
void modifyToIndentEmptyLines(QByteArray &buffer, int offset, int &length, const QTextBlock &block)
|
||||
{
|
||||
const QString blockText = block.text().trimmed();
|
||||
const bool closingParenBlock = blockText.startsWith(')');
|
||||
|
Reference in New Issue
Block a user