Clang: Change dot <-> arrow if all completions require it

Return the behavior that existed before completion fix-its
were introduced. Apply it only for the cases when all
items require the fix-it.

Fixes: QTCREATORBUG-21367
Change-Id: Idc358255135f72353f3fd3204b653fc2fc55e7a0
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
Ivan Donchevskii
2018-11-09 12:44:39 +01:00
parent ad37ad1a86
commit 41d68f469a
3 changed files with 40 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ public:
private:
void applyFixitsToFile(TextEditor::RefactoringFile &refactoringFile,
const QVector<ClangBackEnd::FixItContainer> fixItContainers);
Utils::ChangeSet toChangeSet(
::Utils::ChangeSet toChangeSet(
TextEditor::RefactoringFile &refactoringFile,
const QVector<ClangBackEnd::FixItContainer> fixItContainers) const;