forked from qt-creator/qt-creator
Clang: Remove the hint and snippet field from the CodeCompletion
It is not used and is producing overhead. Change-Id: I1398b18a40c0f5c0b90fe4c058996d7eb109f9f2 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -80,8 +80,6 @@ public:
|
||||
public:
|
||||
CodeCompletion() = default;
|
||||
CodeCompletion(const Utf8String &text,
|
||||
const Utf8String &hint = Utf8String(),
|
||||
const Utf8String &snippet = Utf8String(),
|
||||
quint32 priority = 0,
|
||||
Kind completionKind = Other,
|
||||
Availability availability = Available,
|
||||
@@ -90,9 +88,6 @@ public:
|
||||
void setText(const Utf8String &text);
|
||||
const Utf8String &text() const;
|
||||
|
||||
const Utf8String &hint() const;
|
||||
const Utf8String &snippet() const;
|
||||
|
||||
void setCompletionKind(Kind completionKind);
|
||||
Kind completionKind() const;
|
||||
|
||||
@@ -114,8 +109,6 @@ private:
|
||||
|
||||
private:
|
||||
Utf8String text_;
|
||||
Utf8String hint_;
|
||||
Utf8String snippet_;
|
||||
QVector<CodeCompletionChunk> chunks_;
|
||||
quint32 priority_ = 0;
|
||||
Kind completionKind_ = Other;
|
||||
|
||||
Reference in New Issue
Block a user