summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@theqtcompany.com>2015-07-09 17:22:10 +0200
committerMarco Bubke <marco.bubke@theqtcompany.com>2015-07-13 10:30:40 +0000
commitbb549770a82aebafb0dc9dadf36ca69b9dff4d4d (patch)
treeab0ab24bc149b23bb3ba859e6dff0b9565530b24 /src
parent4363e3e9e471ac4943f0db6631ac15d875669bd6 (diff)
downloadqt-creator-bb549770a82aebafb0dc9dadf36ca69b9dff4d4d.tar.gz
Clang: Remove unused function
Change-Id: Iee4a6a4e8197db9520ad188fa872840305bca1b1 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/clangcodemodel/clangassistproposalmodel.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/clangcodemodel/clangassistproposalmodel.cpp b/src/plugins/clangcodemodel/clangassistproposalmodel.cpp
index 3f11eee631..b07b2eb42e 100644
--- a/src/plugins/clangcodemodel/clangassistproposalmodel.cpp
+++ b/src/plugins/clangcodemodel/clangassistproposalmodel.cpp
@@ -39,15 +39,6 @@
namespace ClangCodeModel {
namespace Internal {
-namespace {
-
-const ClangAssistProposalItem &toClangAssistProposalItem(TextEditor::AssistProposalItem *assistProposalItem)
-{
- return *static_cast<ClangAssistProposalItem*>(assistProposalItem);
-}
-
-}
-
bool ClangAssistProposalModel::replaceDotForArrow(TextEditor::IAssistProposalModel *model)
{
auto clangAssistProposalModel = static_cast<ClangAssistProposalModel*>(model);