forked from qt-creator/qt-creator
Clang: Fix extra space before left paren
Do not add space before left paren in function because it must not be there Task-number: QTCREATORBUG-14878 Change-Id: I0fd0e650aeeee59af7bbc157c2fae652109763bc Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -53,8 +53,10 @@ QString ClangFunctionHintModel::text(int index) const
|
||||
{
|
||||
const ClangBackEnd::CodeCompletionChunks chunks = m_functionSymbols.at(index).chunks();
|
||||
const QString signatureWithEmphasizedCurrentParameter
|
||||
= CompletionChunksToTextConverter::convertToFunctionSignatureWithHtml(chunks,
|
||||
m_currentArgument + 1);
|
||||
= CompletionChunksToTextConverter::convertToFunctionSignatureWithHtml(
|
||||
chunks,
|
||||
m_functionSymbols.at(index).completionKind(),
|
||||
m_currentArgument + 1);
|
||||
|
||||
return signatureWithEmphasizedCurrentParameter;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user