diff options
author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2015-01-16 14:50:06 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-03-13 13:55:16 +0000 |
commit | 3b2a13e9c967a07dd5c68f63f8af50791b94eb4d (patch) | |
tree | a1653aed56d2eb1e1f5c3b07c24b1b237103968d /src/plugins/clangcodemodel/clangcompletion.cpp | |
parent | 6a94f7e3554ec0e4a5017fac8ff350267a7cdf01 (diff) | |
download | qt-creator-3b2a13e9c967a07dd5c68f63f8af50791b94eb4d.tar.gz |
Clang: Offer snippets in completion
Change-Id: I3d0cce5d408d11998aec024b23d9a218a75df3a3
Task-number: QTCREATORBUG-12935
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'src/plugins/clangcodemodel/clangcompletion.cpp')
-rw-r--r-- | src/plugins/clangcodemodel/clangcompletion.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/clangcodemodel/clangcompletion.cpp b/src/plugins/clangcodemodel/clangcompletion.cpp index 6cc1eba395..f066be4c3e 100644 --- a/src/plugins/clangcodemodel/clangcompletion.cpp +++ b/src/plugins/clangcodemodel/clangcompletion.cpp @@ -1061,6 +1061,8 @@ int ClangCompletionAssistProcessor::startCompletionInternal(const QString fileNa foreach (ClangAssistProposalItem *item, items.values()) m_completions.append(item); + addSnippets(); + return m_startPosition; } |