forked from qt-creator/qt-creator
Clang: Typedef some often used types
using CodeCompletions = QVector<CodeCompletion>; using CodeCompletionChunks = QVector<CodeCompletionChunk>; Change-Id: Id729a43566c23dc000e44d79ccf4a49e4f235f51 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
@@ -38,12 +38,10 @@
|
||||
namespace ClangCodeModel {
|
||||
namespace Internal {
|
||||
|
||||
using CodeCompletions = QVector<ClangBackEnd::CodeCompletion>;
|
||||
|
||||
class ClangFunctionHintModel : public TextEditor::IFunctionHintProposalModel
|
||||
{
|
||||
public:
|
||||
ClangFunctionHintModel(const CodeCompletions &functionSymbols);
|
||||
ClangFunctionHintModel(const ClangBackEnd::CodeCompletions &functionSymbols);
|
||||
|
||||
void reset() override;
|
||||
int size() const override;
|
||||
@@ -51,7 +49,7 @@ public:
|
||||
int activeArgument(const QString &prefix) const override;
|
||||
|
||||
private:
|
||||
CodeCompletions m_functionSymbols;
|
||||
ClangBackEnd::CodeCompletions m_functionSymbols;
|
||||
mutable int m_currentArg;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user