aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangformat/clangformatbaseindenter.h
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2019-03-06 14:05:31 +0100
committerIvan Donchevskii <ivan.donchevskii@qt.io>2019-03-06 14:24:07 +0000
commit7e5e99d551e1c393e3eebb4e952202c6418cd2fa (patch)
treee11703e1c999e84b1222a1b19723d8c424071f54 /src/plugins/clangformat/clangformatbaseindenter.h
parent35b0b44b21cd24e76455525c25b0b9ab08349233 (diff)
ClangFormat: Add whitespace unit-tests and fix bugs
Check that extra whitespace does not prevent the indentation and that indentation is the same for the consecutive empty lines. Change-Id: I04aa12c4cd31aaf07daf9320c98d2eea7afcc9a8 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Diffstat (limited to 'src/plugins/clangformat/clangformatbaseindenter.h')
-rw-r--r--src/plugins/clangformat/clangformatbaseindenter.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/clangformat/clangformatbaseindenter.h b/src/plugins/clangformat/clangformatbaseindenter.h
index b412b57d6d4..87b5e0c927b 100644
--- a/src/plugins/clangformat/clangformatbaseindenter.h
+++ b/src/plugins/clangformat/clangformatbaseindenter.h
@@ -81,7 +81,6 @@ private:
int cursorPositionInEditor);
TextEditor::Replacements indentsFor(QTextBlock startBlock,
const QTextBlock &endBlock,
- const QByteArray &buffer,
const QChar &typedChar,
int cursorPositionInEditor);
TextEditor::Replacements replacements(QByteArray buffer,