forked from qt-creator/qt-creator
ClangCodeModel: Remove libclang-based completion and function hints
Change-Id: I742fb14b1aba3ba1f35a5c80bf553d2a735cac48 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#include <QDebug>
|
||||
#include <QTextBlock>
|
||||
#include <QTextCursor>
|
||||
#include <QTextDocument>
|
||||
|
||||
using namespace CPlusPlus;
|
||||
|
||||
@@ -65,15 +66,6 @@ bool isTokenForPassThrough(unsigned tokenKind)
|
||||
namespace ClangCodeModel {
|
||||
namespace Internal {
|
||||
|
||||
ClangCompletionContextAnalyzer::ClangCompletionContextAnalyzer(
|
||||
const ClangCompletionAssistInterface *assistInterface,
|
||||
CPlusPlus::LanguageFeatures languageFeatures)
|
||||
: ClangCompletionContextAnalyzer(assistInterface->textDocument(), assistInterface->position(),
|
||||
assistInterface->type() == CompletionType::FunctionHint,
|
||||
languageFeatures)
|
||||
{
|
||||
}
|
||||
|
||||
ClangCompletionContextAnalyzer::ClangCompletionContextAnalyzer(
|
||||
QTextDocument *document, int position, bool isFunctionHint,
|
||||
CPlusPlus::LanguageFeatures languageFeatures)
|
||||
|
||||
Reference in New Issue
Block a user