forked from qt-creator/qt-creator
Clang: Reorder includes
Change-Id: I324e88c0d295114390c1fac2745c0d2d47637ece Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -12,7 +12,6 @@ INCLUDEPATH += $$PWD
|
|||||||
|
|
||||||
SOURCES += $$PWD/ipcserverinterface.cpp \
|
SOURCES += $$PWD/ipcserverinterface.cpp \
|
||||||
$$PWD/ipcserverproxy.cpp \
|
$$PWD/ipcserverproxy.cpp \
|
||||||
$$PWD/ipcserver.cpp \
|
|
||||||
$$PWD/ipcclientinterface.cpp \
|
$$PWD/ipcclientinterface.cpp \
|
||||||
$$PWD/cmbendcommand.cpp \
|
$$PWD/cmbendcommand.cpp \
|
||||||
$$PWD/cmbalivecommand.cpp \
|
$$PWD/cmbalivecommand.cpp \
|
||||||
@@ -42,7 +41,6 @@ SOURCES += $$PWD/ipcserverinterface.cpp \
|
|||||||
HEADERS += \
|
HEADERS += \
|
||||||
$$PWD/ipcserverinterface.h \
|
$$PWD/ipcserverinterface.h \
|
||||||
$$PWD/ipcserverproxy.h \
|
$$PWD/ipcserverproxy.h \
|
||||||
$$PWD/ipcserver.h \
|
|
||||||
$$PWD/ipcclientinterface.h \
|
$$PWD/ipcclientinterface.h \
|
||||||
$$PWD/cmbendcommand.h \
|
$$PWD/cmbendcommand.h \
|
||||||
$$PWD/cmbalivecommand.h \
|
$$PWD/cmbalivecommand.h \
|
||||||
|
|||||||
@@ -30,9 +30,8 @@
|
|||||||
|
|
||||||
#include "cmbalivecommand.h"
|
#include "cmbalivecommand.h"
|
||||||
|
|
||||||
#include <QtDebug>
|
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -30,9 +30,8 @@
|
|||||||
|
|
||||||
#include "cmbcodecompletedcommand.h"
|
#include "cmbcodecompletedcommand.h"
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
||||||
|
|||||||
@@ -31,11 +31,11 @@
|
|||||||
#ifndef CLANGBACKEND_CODECOMPLETEDCOMMAND_H
|
#ifndef CLANGBACKEND_CODECOMPLETEDCOMMAND_H
|
||||||
#define CLANGBACKEND_CODECOMPLETEDCOMMAND_H
|
#define CLANGBACKEND_CODECOMPLETEDCOMMAND_H
|
||||||
|
|
||||||
|
#include "codecompletion.h"
|
||||||
|
|
||||||
#include <QMetaType>
|
#include <QMetaType>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
#include "codecompletion.h"
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT CodeCompletedCommand
|
class CMBIPC_EXPORT CodeCompletedCommand
|
||||||
|
|||||||
@@ -30,9 +30,8 @@
|
|||||||
|
|
||||||
#include "cmbcompletecodecommand.h"
|
#include "cmbcompletecodecommand.h"
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,10 @@
|
|||||||
|
|
||||||
#include "clangbackendipc_global.h"
|
#include "clangbackendipc_global.h"
|
||||||
|
|
||||||
#include <QMetaType>
|
|
||||||
#include <utf8string.h>
|
#include <utf8string.h>
|
||||||
|
|
||||||
|
#include <QMetaType>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT CompleteCodeCommand
|
class CMBIPC_EXPORT CompleteCodeCommand
|
||||||
|
|||||||
@@ -30,9 +30,8 @@
|
|||||||
|
|
||||||
#include "cmbechocommand.h"
|
#include "cmbechocommand.h"
|
||||||
|
|
||||||
#include <QtDebug>
|
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
||||||
|
|||||||
@@ -30,9 +30,8 @@
|
|||||||
|
|
||||||
#include "cmbendcommand.h"
|
#include "cmbendcommand.h"
|
||||||
|
|
||||||
#include <QtDebug>
|
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
||||||
|
|||||||
@@ -30,15 +30,13 @@
|
|||||||
|
|
||||||
#include "cmbregisterprojectsforcodecompletioncommand.h"
|
#include "cmbregisterprojectsforcodecompletioncommand.h"
|
||||||
|
|
||||||
#include <QtDebug>
|
#include "container_common.h"
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
#include <ostream>
|
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <ostream>
|
||||||
#include "container_common.h"
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -31,11 +31,11 @@
|
|||||||
#ifndef CLANGBACKEND_REGISTERPROJECTSFORCODECOMPLETIONCOMAND_H
|
#ifndef CLANGBACKEND_REGISTERPROJECTSFORCODECOMPLETIONCOMAND_H
|
||||||
#define CLANGBACKEND_REGISTERPROJECTSFORCODECOMPLETIONCOMAND_H
|
#define CLANGBACKEND_REGISTERPROJECTSFORCODECOMPLETIONCOMAND_H
|
||||||
|
|
||||||
|
#include "projectpartcontainer.h"
|
||||||
|
|
||||||
#include <QMetaType>
|
#include <QMetaType>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
#include "projectpartcontainer.h"
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT RegisterProjectPartsForCodeCompletionCommand
|
class CMBIPC_EXPORT RegisterProjectPartsForCodeCompletionCommand
|
||||||
|
|||||||
@@ -30,14 +30,13 @@
|
|||||||
|
|
||||||
#include "cmbregistertranslationunitsforcodecompletioncommand.h"
|
#include "cmbregistertranslationunitsforcodecompletioncommand.h"
|
||||||
|
|
||||||
#include <QtDebug>
|
#include "container_common.h"
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
||||||
#include "container_common.h"
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
RegisterTranslationUnitForCodeCompletionCommand::RegisterTranslationUnitForCodeCompletionCommand(const QVector<FileContainer> &fileContainers)
|
RegisterTranslationUnitForCodeCompletionCommand::RegisterTranslationUnitForCodeCompletionCommand(const QVector<FileContainer> &fileContainers)
|
||||||
|
|||||||
@@ -31,11 +31,11 @@
|
|||||||
#ifndef CLANGBACKEND_REGISTERFILEFORCODECOMPLETION_H
|
#ifndef CLANGBACKEND_REGISTERFILEFORCODECOMPLETION_H
|
||||||
#define CLANGBACKEND_REGISTERFILEFORCODECOMPLETION_H
|
#define CLANGBACKEND_REGISTERFILEFORCODECOMPLETION_H
|
||||||
|
|
||||||
#include <qmetatype.h>
|
|
||||||
|
|
||||||
#include <QVector>
|
|
||||||
#include "filecontainer.h"
|
#include "filecontainer.h"
|
||||||
|
|
||||||
|
#include <QMetaType>
|
||||||
|
#include <QVector>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT RegisterTranslationUnitForCodeCompletionCommand
|
class CMBIPC_EXPORT RegisterTranslationUnitForCodeCompletionCommand
|
||||||
|
|||||||
@@ -30,13 +30,13 @@
|
|||||||
|
|
||||||
#include "cmbunregisterprojectsforcodecompletioncommand.h"
|
#include "cmbunregisterprojectsforcodecompletioncommand.h"
|
||||||
|
|
||||||
#include <QtDebug>
|
#include "container_common.h"
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
||||||
#include "container_common.h"
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -30,15 +30,14 @@
|
|||||||
|
|
||||||
#include "cmbunregistertranslationunitsforcodecompletioncommand.h"
|
#include "cmbunregistertranslationunitsforcodecompletioncommand.h"
|
||||||
|
|
||||||
#include <QtDebug>
|
#include "container_common.h"
|
||||||
|
|
||||||
#ifdef CLANGBACKEND_TESTS
|
#ifdef CLANGBACKEND_TESTS
|
||||||
#include <gtest/gtest-printers.h>
|
#include <gtest/gtest-printers.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
#include "container_common.h"
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -35,8 +35,8 @@
|
|||||||
|
|
||||||
#include "filecontainer.h"
|
#include "filecontainer.h"
|
||||||
|
|
||||||
#include <QVector>
|
|
||||||
#include <QMetaType>
|
#include <QMetaType>
|
||||||
|
#include <QVector>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -30,9 +30,8 @@
|
|||||||
|
|
||||||
#include "codecompletion.h"
|
#include "codecompletion.h"
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
||||||
|
|||||||
@@ -31,12 +31,12 @@
|
|||||||
#ifndef CLANGBACKEND_CODECOMPLETION_H
|
#ifndef CLANGBACKEND_CODECOMPLETION_H
|
||||||
#define CLANGBACKEND_CODECOMPLETION_H
|
#define CLANGBACKEND_CODECOMPLETION_H
|
||||||
|
|
||||||
#include <QMetaType>
|
#include "clangbackendipc_global.h"
|
||||||
#include <utf8string.h>
|
|
||||||
|
|
||||||
#include "codecompletionchunk.h"
|
#include "codecompletionchunk.h"
|
||||||
|
|
||||||
#include "clangbackendipc_global.h"
|
#include <utf8string.h>
|
||||||
|
|
||||||
|
#include <QMetaType>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,6 @@
|
|||||||
#include "codecompletionchunk.h"
|
#include "codecompletionchunk.h"
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|||||||
@@ -31,12 +31,12 @@
|
|||||||
#ifndef CLANGBACKEND_CODECOMPLETIONCHUNK_H
|
#ifndef CLANGBACKEND_CODECOMPLETIONCHUNK_H
|
||||||
#define CLANGBACKEND_CODECOMPLETIONCHUNK_H
|
#define CLANGBACKEND_CODECOMPLETIONCHUNK_H
|
||||||
|
|
||||||
|
#include "clangbackendipc_global.h"
|
||||||
|
|
||||||
#include <utf8string.h>
|
#include <utf8string.h>
|
||||||
|
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
#include "clangbackendipc_global.h"
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT CodeCompletionChunk
|
class CMBIPC_EXPORT CodeCompletionChunk
|
||||||
|
|||||||
@@ -30,13 +30,13 @@
|
|||||||
|
|
||||||
#include "connectionclient.h"
|
#include "connectionclient.h"
|
||||||
|
|
||||||
#include <QProcess>
|
#include "cmbcompletecodecommand.h"
|
||||||
#include <QThread>
|
|
||||||
#include <QCoreApplication>
|
|
||||||
|
|
||||||
#include "cmbregistertranslationunitsforcodecompletioncommand.h"
|
#include "cmbregistertranslationunitsforcodecompletioncommand.h"
|
||||||
#include "cmbunregistertranslationunitsforcodecompletioncommand.h"
|
#include "cmbunregistertranslationunitsforcodecompletioncommand.h"
|
||||||
#include "cmbcompletecodecommand.h"
|
|
||||||
|
#include <QCoreApplication>
|
||||||
|
#include <QProcess>
|
||||||
|
#include <QThread>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -31,12 +31,12 @@
|
|||||||
#ifndef CLANGBACKEND_CONNECTIONCLIENT_H
|
#ifndef CLANGBACKEND_CONNECTIONCLIENT_H
|
||||||
#define CLANGBACKEND_CONNECTIONCLIENT_H
|
#define CLANGBACKEND_CONNECTIONCLIENT_H
|
||||||
|
|
||||||
|
#include "ipcserverproxy.h"
|
||||||
|
|
||||||
#include <QLocalSocket>
|
#include <QLocalSocket>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "ipcserverproxy.h"
|
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
class QProcess;
|
class QProcess;
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|||||||
@@ -30,12 +30,12 @@
|
|||||||
|
|
||||||
#include "connectionserver.h"
|
#include "connectionserver.h"
|
||||||
|
|
||||||
#include <QLocalSocket>
|
|
||||||
#include <QCoreApplication>
|
|
||||||
#include <QTimer>
|
|
||||||
|
|
||||||
#include <ipcserverinterface.h>
|
#include <ipcserverinterface.h>
|
||||||
|
|
||||||
|
#include <QCoreApplication>
|
||||||
|
#include <QLocalSocket>
|
||||||
|
#include <QTimer>
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|||||||
@@ -31,8 +31,10 @@
|
|||||||
#ifndef CLANGBACKEND_CONNECTIONSERVER_H
|
#ifndef CLANGBACKEND_CONNECTIONSERVER_H
|
||||||
#define CLANGBACKEND_CONNECTIONSERVER_H
|
#define CLANGBACKEND_CONNECTIONSERVER_H
|
||||||
|
|
||||||
#include <QLocalServer>
|
|
||||||
#include <ipcclientproxy.h>
|
#include <ipcclientproxy.h>
|
||||||
|
|
||||||
|
#include <QLocalServer>
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|||||||
@@ -30,9 +30,8 @@
|
|||||||
|
|
||||||
#include "filecontainer.h"
|
#include "filecontainer.h"
|
||||||
|
|
||||||
#include <QtDebug>
|
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
||||||
|
|||||||
@@ -31,11 +31,11 @@
|
|||||||
#ifndef CLANGBACKEND_FILECONTAINER_H
|
#ifndef CLANGBACKEND_FILECONTAINER_H
|
||||||
#define CLANGBACKEND_FILECONTAINER_H
|
#define CLANGBACKEND_FILECONTAINER_H
|
||||||
|
|
||||||
#include <qmetatype.h>
|
#include <clangbackendipc_global.h>
|
||||||
|
|
||||||
#include <utf8string.h>
|
#include <utf8string.h>
|
||||||
|
|
||||||
#include <clangbackendipc_global.h>
|
#include <QMetaType>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "ipcclientdispatcher.h"
|
#include "ipcclientdispatcher.h"
|
||||||
|
|
||||||
#include <QtDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -30,13 +30,13 @@
|
|||||||
|
|
||||||
#include "ipcclientinterface.h"
|
#include "ipcclientinterface.h"
|
||||||
|
|
||||||
#include <QVariant>
|
|
||||||
#include <QtDebug>
|
|
||||||
|
|
||||||
#include "cmbechocommand.h"
|
|
||||||
#include "cmbcodecompletedcommand.h"
|
#include "cmbcodecompletedcommand.h"
|
||||||
#include "translationunitdoesnotexistcommand.h"
|
#include "cmbechocommand.h"
|
||||||
#include "projectpartsdonotexistcommand.h"
|
#include "projectpartsdonotexistcommand.h"
|
||||||
|
#include "translationunitdoesnotexistcommand.h"
|
||||||
|
|
||||||
|
#include <QDebug>
|
||||||
|
#include <QVariant>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -30,19 +30,18 @@
|
|||||||
|
|
||||||
#include "ipcclientproxy.h"
|
#include "ipcclientproxy.h"
|
||||||
|
|
||||||
#include <cmbalivecommand.h>
|
#include "cmbalivecommand.h"
|
||||||
|
#include "cmbcodecompletedcommand.h"
|
||||||
#include <QVariant>
|
|
||||||
#include <QVector>
|
|
||||||
#include <QIODevice>
|
|
||||||
#include <QtDebug>
|
|
||||||
|
|
||||||
#include "ipcserverinterface.h"
|
|
||||||
#include "cmbechocommand.h"
|
#include "cmbechocommand.h"
|
||||||
#include "cmbregistertranslationunitsforcodecompletioncommand.h"
|
#include "cmbregistertranslationunitsforcodecompletioncommand.h"
|
||||||
#include "cmbcodecompletedcommand.h"
|
#include "ipcserverinterface.h"
|
||||||
#include "translationunitdoesnotexistcommand.h"
|
|
||||||
#include "projectpartsdonotexistcommand.h"
|
#include "projectpartsdonotexistcommand.h"
|
||||||
|
#include "translationunitdoesnotexistcommand.h"
|
||||||
|
|
||||||
|
#include <QDebug>
|
||||||
|
#include <QIODevice>
|
||||||
|
#include <QVariant>
|
||||||
|
#include <QVector>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -31,16 +31,15 @@
|
|||||||
#ifndef CODELMODELBACKEND_IPCCLIENTPROXY_H
|
#ifndef CODELMODELBACKEND_IPCCLIENTPROXY_H
|
||||||
#define CODELMODELBACKEND_IPCCLIENTPROXY_H
|
#define CODELMODELBACKEND_IPCCLIENTPROXY_H
|
||||||
|
|
||||||
|
#include "clangbackendipc_global.h"
|
||||||
|
#include "ipcclientinterface.h"
|
||||||
|
#include "readcommandblock.h"
|
||||||
|
#include "writecommandblock.h"
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "clangbackendipc_global.h"
|
|
||||||
#include "ipcclientinterface.h"
|
|
||||||
|
|
||||||
#include "writecommandblock.h"
|
|
||||||
#include "readcommandblock.h"
|
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
class QLocalServer;
|
class QLocalServer;
|
||||||
class QIODevice;
|
class QIODevice;
|
||||||
|
|||||||
@@ -31,14 +31,14 @@
|
|||||||
#ifndef CLANGBACKEND_IPCINTERFACE_H
|
#ifndef CLANGBACKEND_IPCINTERFACE_H
|
||||||
#define CLANGBACKEND_IPCINTERFACE_H
|
#define CLANGBACKEND_IPCINTERFACE_H
|
||||||
|
|
||||||
|
#include "clangbackendipc_global.h"
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
class QVariant;
|
class QVariant;
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#include "clangbackendipc_global.h"
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT IpcInterface
|
class CMBIPC_EXPORT IpcInterface
|
||||||
|
|||||||
@@ -1,46 +0,0 @@
|
|||||||
/****************************************************************************
|
|
||||||
**
|
|
||||||
** Copyright (C) 2015 The Qt Company Ltd.
|
|
||||||
** Contact: http://www.qt.io/licensing
|
|
||||||
**
|
|
||||||
** This file is part of Qt Creator.
|
|
||||||
**
|
|
||||||
** Commercial License Usage
|
|
||||||
** Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
** accordance with the commercial license agreement provided with the
|
|
||||||
** Software or, alternatively, in accordance with the terms contained in
|
|
||||||
** a written agreement between you and Digia. For licensing terms and
|
|
||||||
** conditions see http://www.qt.io/licensing. For further information
|
|
||||||
** use the contact form at http://www.qt.io/contact-us.
|
|
||||||
**
|
|
||||||
** GNU Lesser General Public License Usage
|
|
||||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
** General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
** following information to ensure the GNU Lesser General Public License
|
|
||||||
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
**
|
|
||||||
** In addition, as a special exception, Digia gives you certain additional
|
|
||||||
** rights. These rights are described in the Digia Qt LGPL Exception
|
|
||||||
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
**
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "ipcserver.h"
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
|
||||||
|
|
||||||
IpcServer::IpcServer()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
IpcServer::~IpcServer()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace ClangBackEnd
|
|
||||||
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
/****************************************************************************
|
|
||||||
**
|
|
||||||
** Copyright (C) 2015 The Qt Company Ltd.
|
|
||||||
** Contact: http://www.qt.io/licensing
|
|
||||||
**
|
|
||||||
** This file is part of Qt Creator.
|
|
||||||
**
|
|
||||||
** Commercial License Usage
|
|
||||||
** Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
** accordance with the commercial license agreement provided with the
|
|
||||||
** Software or, alternatively, in accordance with the terms contained in
|
|
||||||
** a written agreement between you and Digia. For licensing terms and
|
|
||||||
** conditions see http://www.qt.io/licensing. For further information
|
|
||||||
** use the contact form at http://www.qt.io/contact-us.
|
|
||||||
**
|
|
||||||
** GNU Lesser General Public License Usage
|
|
||||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
** General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
** following information to ensure the GNU Lesser General Public License
|
|
||||||
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
**
|
|
||||||
** In addition, as a special exception, Digia gives you certain additional
|
|
||||||
** rights. These rights are described in the Digia Qt LGPL Exception
|
|
||||||
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
**
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CLANGBACKEND_IPCSERVER_H
|
|
||||||
#define CLANGBACKEND_IPCSERVER_H
|
|
||||||
|
|
||||||
#include "ipcserverinterface.h"
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
|
||||||
|
|
||||||
class IpcServer : public IpcServerInterface
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
IpcServer();
|
|
||||||
~IpcServer();
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace ClangBackEnd
|
|
||||||
|
|
||||||
#endif // CLANGBACKEND_IPCSERVER_H
|
|
||||||
@@ -30,14 +30,14 @@
|
|||||||
|
|
||||||
#include "ipcserverinterface.h"
|
#include "ipcserverinterface.h"
|
||||||
|
|
||||||
#include <QVariant>
|
|
||||||
#include <QtDebug>
|
|
||||||
|
|
||||||
#include "cmbregistertranslationunitsforcodecompletioncommand.h"
|
|
||||||
#include "cmbunregistertranslationunitsforcodecompletioncommand.h"
|
|
||||||
#include "cmbregisterprojectsforcodecompletioncommand.h"
|
|
||||||
#include "cmbunregisterprojectsforcodecompletioncommand.h"
|
|
||||||
#include "cmbcompletecodecommand.h"
|
#include "cmbcompletecodecommand.h"
|
||||||
|
#include "cmbregisterprojectsforcodecompletioncommand.h"
|
||||||
|
#include "cmbregistertranslationunitsforcodecompletioncommand.h"
|
||||||
|
#include "cmbunregisterprojectsforcodecompletioncommand.h"
|
||||||
|
#include "cmbunregistertranslationunitsforcodecompletioncommand.h"
|
||||||
|
|
||||||
|
#include <QDebug>
|
||||||
|
#include <QVariant>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -30,20 +30,19 @@
|
|||||||
|
|
||||||
#include "ipcserverproxy.h"
|
#include "ipcserverproxy.h"
|
||||||
|
|
||||||
#include <QProcess>
|
|
||||||
#include <QLocalSocket>
|
|
||||||
#include <QLocalServer>
|
|
||||||
|
|
||||||
#include <cmbendcommand.h>
|
|
||||||
#include <cmbalivecommand.h>
|
#include <cmbalivecommand.h>
|
||||||
#include <cmbregistertranslationunitsforcodecompletioncommand.h>
|
|
||||||
#include <cmbunregistertranslationunitsforcodecompletioncommand.h>
|
|
||||||
#include <cmbregisterprojectsforcodecompletioncommand.h>
|
|
||||||
#include <cmbunregisterprojectsforcodecompletioncommand.h>
|
|
||||||
#include <cmbcompletecodecommand.h>
|
#include <cmbcompletecodecommand.h>
|
||||||
|
#include <cmbendcommand.h>
|
||||||
|
#include <cmbregisterprojectsforcodecompletioncommand.h>
|
||||||
|
#include <cmbregistertranslationunitsforcodecompletioncommand.h>
|
||||||
|
#include <cmbunregisterprojectsforcodecompletioncommand.h>
|
||||||
|
#include <cmbunregistertranslationunitsforcodecompletioncommand.h>
|
||||||
#include <ipcclientinterface.h>
|
#include <ipcclientinterface.h>
|
||||||
|
|
||||||
|
#include <QLocalServer>
|
||||||
|
#include <QLocalSocket>
|
||||||
|
#include <QProcess>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
IpcServerProxy::IpcServerProxy(IpcClientInterface *client, QIODevice *ioDevice)
|
IpcServerProxy::IpcServerProxy(IpcClientInterface *client, QIODevice *ioDevice)
|
||||||
|
|||||||
@@ -30,16 +30,15 @@
|
|||||||
|
|
||||||
#ifndef CLANGBACKEND_IPCSERVERPROXY_H
|
#ifndef CLANGBACKEND_IPCSERVERPROXY_H
|
||||||
#define CLANGBACKEND_IPCSERVERPROXY_H
|
#define CLANGBACKEND_IPCSERVERPROXY_H
|
||||||
|
#include "ipcserverinterface.h"
|
||||||
|
#include "readcommandblock.h"
|
||||||
|
#include "writecommandblock.h"
|
||||||
|
|
||||||
#include <qglobal.h>
|
#include <QtGlobal>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "ipcserverinterface.h"
|
|
||||||
#include "writecommandblock.h"
|
|
||||||
#include "readcommandblock.h"
|
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
class QVariant;
|
class QVariant;
|
||||||
class QProcess;
|
class QProcess;
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "projectpartcontainer.h"
|
#include "projectpartcontainer.h"
|
||||||
|
|
||||||
#include <QtDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
|
||||||
|
|||||||
@@ -31,11 +31,11 @@
|
|||||||
#ifndef CLANGBACKEND_PROJECTCONTAINER_H
|
#ifndef CLANGBACKEND_PROJECTCONTAINER_H
|
||||||
#define CLANGBACKEND_PROJECTCONTAINER_H
|
#define CLANGBACKEND_PROJECTCONTAINER_H
|
||||||
|
|
||||||
#include <QMetaType>
|
#include <clangbackendipc_global.h>
|
||||||
|
|
||||||
#include <utf8stringvector.h>
|
#include <utf8stringvector.h>
|
||||||
|
|
||||||
#include <clangbackendipc_global.h>
|
#include <QMetaType>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -30,9 +30,8 @@
|
|||||||
|
|
||||||
#include "projectpartsdonotexistcommand.h"
|
#include "projectpartsdonotexistcommand.h"
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
||||||
|
|||||||
@@ -31,11 +31,11 @@
|
|||||||
#ifndef CLANGBACKEND_PROJECTPARTSDONOTEXISTCOMMAND_H
|
#ifndef CLANGBACKEND_PROJECTPARTSDONOTEXISTCOMMAND_H
|
||||||
#define CLANGBACKEND_PROJECTPARTSDONOTEXISTCOMMAND_H
|
#define CLANGBACKEND_PROJECTPARTSDONOTEXISTCOMMAND_H
|
||||||
|
|
||||||
#include <QMetaType>
|
#include "clangbackendipc_global.h"
|
||||||
|
|
||||||
#include <utf8stringvector.h>
|
#include <utf8stringvector.h>
|
||||||
|
|
||||||
#include "clangbackendipc_global.h"
|
#include <QMetaType>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -31,9 +31,9 @@
|
|||||||
#include "readcommandblock.h"
|
#include "readcommandblock.h"
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
#include <QIODevice>
|
#include <QIODevice>
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
#include <QtDebug>
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -30,9 +30,8 @@
|
|||||||
|
|
||||||
#include "translationunitdoesnotexistcommand.h"
|
#include "translationunitdoesnotexistcommand.h"
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
||||||
|
|||||||
@@ -31,10 +31,10 @@
|
|||||||
#ifndef CLANGBACKEND_TRANSLATIONUNITDOESNOTEXISTSCOMMAND_H
|
#ifndef CLANGBACKEND_TRANSLATIONUNITDOESNOTEXISTSCOMMAND_H
|
||||||
#define CLANGBACKEND_TRANSLATIONUNITDOESNOTEXISTSCOMMAND_H
|
#define CLANGBACKEND_TRANSLATIONUNITDOESNOTEXISTSCOMMAND_H
|
||||||
|
|
||||||
#include <QMetaType>
|
|
||||||
|
|
||||||
#include "filecontainer.h"
|
#include "filecontainer.h"
|
||||||
|
|
||||||
|
#include <QMetaType>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CMBIPC_EXPORT TranslationUnitDoesNotExistCommand
|
class CMBIPC_EXPORT TranslationUnitDoesNotExistCommand
|
||||||
|
|||||||
@@ -31,9 +31,9 @@
|
|||||||
#include "writecommandblock.h"
|
#include "writecommandblock.h"
|
||||||
|
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
|
#include <QDebug>
|
||||||
#include <QIODevice>
|
#include <QIODevice>
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
#include <QtDebug>
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -31,12 +31,12 @@
|
|||||||
#ifndef INTERNAL_CREATETABLECOMMAND_H
|
#ifndef INTERNAL_CREATETABLECOMMAND_H
|
||||||
#define INTERNAL_CREATETABLECOMMAND_H
|
#define INTERNAL_CREATETABLECOMMAND_H
|
||||||
|
|
||||||
|
#include "columndefinition.h"
|
||||||
|
#include "utf8string.h"
|
||||||
|
|
||||||
#include <QMetaType>
|
#include <QMetaType>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
#include "utf8string.h"
|
|
||||||
#include "columndefinition.h"
|
|
||||||
|
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
class CreateTableCommand
|
class CreateTableCommand
|
||||||
|
|||||||
@@ -31,11 +31,10 @@
|
|||||||
#ifndef CREATETABLESQLSTATEMENTBUILDER_H
|
#ifndef CREATETABLESQLSTATEMENTBUILDER_H
|
||||||
#define CREATETABLESQLSTATEMENTBUILDER_H
|
#define CREATETABLESQLSTATEMENTBUILDER_H
|
||||||
|
|
||||||
#include <QVector>
|
#include "columndefinition.h"
|
||||||
|
|
||||||
#include "sqlstatementbuilder.h"
|
#include "sqlstatementbuilder.h"
|
||||||
|
|
||||||
#include "columndefinition.h"
|
#include <QVector>
|
||||||
|
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|||||||
@@ -31,10 +31,10 @@
|
|||||||
#ifndef SQLITECOLUMN_H
|
#ifndef SQLITECOLUMN_H
|
||||||
#define SQLITECOLUMN_H
|
#define SQLITECOLUMN_H
|
||||||
|
|
||||||
#include <QObject>
|
|
||||||
|
|
||||||
#include "utf8string.h"
|
|
||||||
#include "columndefinition.h"
|
#include "columndefinition.h"
|
||||||
|
#include "utf8string.h"
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
|
|
||||||
class SQLITE_EXPORT SqliteColumn : public QObject
|
class SQLITE_EXPORT SqliteColumn : public QObject
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -31,12 +31,12 @@
|
|||||||
#ifndef SQLITEDATABASE_H
|
#ifndef SQLITEDATABASE_H
|
||||||
#define SQLITEDATABASE_H
|
#define SQLITEDATABASE_H
|
||||||
|
|
||||||
|
#include "sqlitedatabaseconnectionproxy.h"
|
||||||
|
#include "sqliteglobal.h"
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
#include "sqliteglobal.h"
|
|
||||||
#include "sqlitedatabaseconnectionproxy.h"
|
|
||||||
|
|
||||||
class SqliteTable;
|
class SqliteTable;
|
||||||
|
|
||||||
class SQLITE_EXPORT SqliteDatabase : public QObject
|
class SQLITE_EXPORT SqliteDatabase : public QObject
|
||||||
|
|||||||
@@ -30,18 +30,18 @@
|
|||||||
|
|
||||||
#include "sqlitedatabasebackend.h"
|
#include "sqlitedatabasebackend.h"
|
||||||
|
|
||||||
#include <QThread>
|
#include "sqliteexception.h"
|
||||||
#include <QtDebug>
|
#include "sqlitereadstatement.h"
|
||||||
|
#include "sqlitereadwritestatement.h"
|
||||||
|
#include "sqlitestatement.h"
|
||||||
|
#include "sqlitewritestatement.h"
|
||||||
|
|
||||||
#include "sqlite3.h"
|
#include <QThread>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
#include "okapi_bm25.h"
|
#include "okapi_bm25.h"
|
||||||
|
|
||||||
#include "sqliteexception.h"
|
#include "sqlite3.h"
|
||||||
#include "sqlitestatement.h"
|
|
||||||
#include "sqlitereadstatement.h"
|
|
||||||
#include "sqlitewritestatement.h"
|
|
||||||
#include "sqlitereadwritestatement.h"
|
|
||||||
|
|
||||||
#if defined(Q_OS_UNIX)
|
#if defined(Q_OS_UNIX)
|
||||||
#define QTC_THREAD_LOCAL __thread
|
#define QTC_THREAD_LOCAL __thread
|
||||||
|
|||||||
@@ -31,12 +31,12 @@
|
|||||||
#ifndef SQLITEDATABASEBACKEND_H
|
#ifndef SQLITEDATABASEBACKEND_H
|
||||||
#define SQLITEDATABASEBACKEND_H
|
#define SQLITEDATABASEBACKEND_H
|
||||||
|
|
||||||
#include <QStringList>
|
|
||||||
|
|
||||||
#include "sqliteglobal.h"
|
#include "sqliteglobal.h"
|
||||||
|
|
||||||
#include "utf8stringvector.h"
|
#include "utf8stringvector.h"
|
||||||
|
|
||||||
|
#include <QStringList>
|
||||||
|
|
||||||
struct sqlite3;
|
struct sqlite3;
|
||||||
|
|
||||||
class SQLITE_EXPORT SqliteDatabaseBackend
|
class SQLITE_EXPORT SqliteDatabaseBackend
|
||||||
|
|||||||
@@ -30,20 +30,20 @@
|
|||||||
|
|
||||||
#include "sqlitedatabaseconnection.h"
|
#include "sqlitedatabaseconnection.h"
|
||||||
|
|
||||||
|
#include "sqliteexception.h"
|
||||||
|
#include "sqliteglobal.h"
|
||||||
|
|
||||||
#include <sqlite3.h>
|
#include <sqlite3.h>
|
||||||
|
|
||||||
#include <QtDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
#ifdef Q_OS_LINUX
|
#ifdef Q_OS_LINUX
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
#include <sys/syscall.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/syscall.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "sqliteexception.h"
|
|
||||||
#include "sqliteglobal.h"
|
|
||||||
|
|
||||||
SqliteDatabaseConnection::SqliteDatabaseConnection(QObject *parent) :
|
SqliteDatabaseConnection::SqliteDatabaseConnection(QObject *parent) :
|
||||||
QObject(parent)
|
QObject(parent)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -31,10 +31,10 @@
|
|||||||
#ifndef SQLITEDATABASECONNECTIONCONTROLLER_H
|
#ifndef SQLITEDATABASECONNECTIONCONTROLLER_H
|
||||||
#define SQLITEDATABASECONNECTIONCONTROLLER_H
|
#define SQLITEDATABASECONNECTIONCONTROLLER_H
|
||||||
|
|
||||||
#include <QObject>
|
|
||||||
|
|
||||||
#include "sqlitedatabasebackend.h"
|
#include "sqlitedatabasebackend.h"
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
|
|
||||||
struct sqlite3;
|
struct sqlite3;
|
||||||
|
|
||||||
class SQLITE_EXPORT SqliteDatabaseConnection final : public QObject
|
class SQLITE_EXPORT SqliteDatabaseConnection final : public QObject
|
||||||
|
|||||||
@@ -31,11 +31,11 @@
|
|||||||
#ifndef SQLITEDATABASECONNECTION_H
|
#ifndef SQLITEDATABASECONNECTION_H
|
||||||
#define SQLITEDATABASECONNECTION_H
|
#define SQLITEDATABASECONNECTION_H
|
||||||
|
|
||||||
|
#include <sqliteglobal.h>
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
|
|
||||||
#include <sqliteglobal.h>
|
|
||||||
|
|
||||||
struct sqlite3;
|
struct sqlite3;
|
||||||
class SqliteWorkerThread;
|
class SqliteWorkerThread;
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "sqliteexception.h"
|
#include "sqliteexception.h"
|
||||||
|
|
||||||
#include <QtDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
SqliteException::SqliteException(const char *whatErrorHasHappen, const char *sqliteErrorMessage)
|
SqliteException::SqliteException(const char *whatErrorHasHappen, const char *sqliteErrorMessage)
|
||||||
: whatErrorHasHappen(whatErrorHasHappen),
|
: whatErrorHasHappen(whatErrorHasHappen),
|
||||||
|
|||||||
@@ -31,10 +31,10 @@
|
|||||||
#ifndef SQLITEEXCEPTION_H
|
#ifndef SQLITEEXCEPTION_H
|
||||||
#define SQLITEEXCEPTION_H
|
#define SQLITEEXCEPTION_H
|
||||||
|
|
||||||
#include <QByteArray>
|
|
||||||
|
|
||||||
#include "sqliteglobal.h"
|
#include "sqliteglobal.h"
|
||||||
|
|
||||||
|
#include <QByteArray>
|
||||||
|
|
||||||
class SQLITE_EXPORT SqliteException
|
class SQLITE_EXPORT SqliteException
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
#include "sqlitereadwritestatement.h"
|
#include "sqlitereadwritestatement.h"
|
||||||
|
|
||||||
|
|
||||||
SqliteReadWriteStatement::SqliteReadWriteStatement(const Utf8String &sqlStatementUft8)
|
SqliteReadWriteStatement::SqliteReadWriteStatement(const Utf8String &sqlStatementUft8)
|
||||||
: SqliteStatement(sqlStatementUft8)
|
: SqliteStatement(sqlStatementUft8)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -30,16 +30,16 @@
|
|||||||
|
|
||||||
#include "sqlitestatement.h"
|
#include "sqlitestatement.h"
|
||||||
|
|
||||||
#include <QMutex>
|
|
||||||
#include <QWaitCondition>
|
|
||||||
#include <QVariant>
|
|
||||||
#include <QtGlobal>
|
|
||||||
|
|
||||||
#include "sqlite3.h"
|
|
||||||
|
|
||||||
#include "sqlitedatabasebackend.h"
|
#include "sqlitedatabasebackend.h"
|
||||||
#include "sqliteexception.h"
|
#include "sqliteexception.h"
|
||||||
|
|
||||||
|
#include <QMutex>
|
||||||
|
#include <QtGlobal>
|
||||||
|
#include <QVariant>
|
||||||
|
#include <QWaitCondition>
|
||||||
|
|
||||||
|
#include "sqlite3.h"
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
# pragma GCC diagnostic ignored "-Wignored-qualifiers"
|
# pragma GCC diagnostic ignored "-Wignored-qualifiers"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -31,23 +31,21 @@
|
|||||||
#ifndef SQLITESTATEMENT_H
|
#ifndef SQLITESTATEMENT_H
|
||||||
#define SQLITESTATEMENT_H
|
#define SQLITESTATEMENT_H
|
||||||
|
|
||||||
#include <type_traits>
|
#include "sqliteglobal.h"
|
||||||
#include <memory>
|
|
||||||
|
#include "sqliteexception.h"
|
||||||
|
#include "utf8stringvector.h"
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
#include "sqliteglobal.h"
|
#include <type_traits>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
struct sqlite3_stmt;
|
struct sqlite3_stmt;
|
||||||
struct sqlite3;
|
struct sqlite3;
|
||||||
|
|
||||||
#include "sqliteexception.h"
|
|
||||||
#include "utf8stringvector.h"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class SQLITE_EXPORT SqliteStatement
|
class SQLITE_EXPORT SqliteStatement
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
@@ -31,12 +31,12 @@
|
|||||||
#ifndef SQLITETABLE_H
|
#ifndef SQLITETABLE_H
|
||||||
#define SQLITETABLE_H
|
#define SQLITETABLE_H
|
||||||
|
|
||||||
#include <QObject>
|
|
||||||
#include <QVector>
|
|
||||||
#include "utf8string.h"
|
|
||||||
|
|
||||||
#include "sqliteglobal.h"
|
#include "sqliteglobal.h"
|
||||||
#include "tablewriteworkerproxy.h"
|
#include "tablewriteworkerproxy.h"
|
||||||
|
#include "utf8string.h"
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
|
#include <QVector>
|
||||||
|
|
||||||
class SqliteColumn;
|
class SqliteColumn;
|
||||||
class SqliteDatabase;
|
class SqliteDatabase;
|
||||||
|
|||||||
@@ -32,7 +32,6 @@
|
|||||||
|
|
||||||
#include "sqlitewritestatement.h"
|
#include "sqlitewritestatement.h"
|
||||||
|
|
||||||
|
|
||||||
SqliteAbstractTransaction::~SqliteAbstractTransaction()
|
SqliteAbstractTransaction::~SqliteAbstractTransaction()
|
||||||
{
|
{
|
||||||
if (!isAlreadyCommited)
|
if (!isAlreadyCommited)
|
||||||
|
|||||||
@@ -31,9 +31,9 @@
|
|||||||
#ifndef SQLITEWORKERTHREAD_H
|
#ifndef SQLITEWORKERTHREAD_H
|
||||||
#define SQLITEWORKERTHREAD_H
|
#define SQLITEWORKERTHREAD_H
|
||||||
|
|
||||||
#include <QThread>
|
|
||||||
#include <QPointer>
|
|
||||||
#include <QMutex>
|
#include <QMutex>
|
||||||
|
#include <QPointer>
|
||||||
|
#include <QThread>
|
||||||
#include <QWaitCondition>
|
#include <QWaitCondition>
|
||||||
|
|
||||||
class SqliteDatabaseConnection;
|
class SqliteDatabaseConnection;
|
||||||
|
|||||||
@@ -31,11 +31,11 @@
|
|||||||
#ifndef SQLSTATEMENTBUILDER_H
|
#ifndef SQLSTATEMENTBUILDER_H
|
||||||
#define SQLSTATEMENTBUILDER_H
|
#define SQLSTATEMENTBUILDER_H
|
||||||
|
|
||||||
#include <vector>
|
|
||||||
#include <utility>
|
|
||||||
|
|
||||||
#include "utf8string.h"
|
#include "utf8string.h"
|
||||||
|
|
||||||
|
#include <utility>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class SQLITE_EXPORT SqlStatementBuilder
|
class SQLITE_EXPORT SqlStatementBuilder
|
||||||
{
|
{
|
||||||
using BindingPair = std::pair<Utf8String, Utf8String>;
|
using BindingPair = std::pair<Utf8String, Utf8String>;
|
||||||
|
|||||||
@@ -31,9 +31,8 @@
|
|||||||
#include "tablewriteworker.h"
|
#include "tablewriteworker.h"
|
||||||
|
|
||||||
#include "createtablesqlstatementbuilder.h"
|
#include "createtablesqlstatementbuilder.h"
|
||||||
|
|
||||||
#include "sqlitewritestatement.h"
|
|
||||||
#include "sqlitetransaction.h"
|
#include "sqlitetransaction.h"
|
||||||
|
#include "sqlitewritestatement.h"
|
||||||
|
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|||||||
@@ -31,10 +31,10 @@
|
|||||||
#ifndef INTERNAL_TABLEWRITEWORKER_H
|
#ifndef INTERNAL_TABLEWRITEWORKER_H
|
||||||
#define INTERNAL_TABLEWRITEWORKER_H
|
#define INTERNAL_TABLEWRITEWORKER_H
|
||||||
|
|
||||||
#include <QObject>
|
|
||||||
|
|
||||||
#include "createtablecommand.h"
|
#include "createtablecommand.h"
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
|
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
class TableWriteWorker : public QObject
|
class TableWriteWorker : public QObject
|
||||||
|
|||||||
@@ -30,10 +30,9 @@
|
|||||||
|
|
||||||
#include "tablewriteworkerproxy.h"
|
#include "tablewriteworkerproxy.h"
|
||||||
|
|
||||||
#include "tablewriteworker.h"
|
|
||||||
#include "sqlitetable.h"
|
|
||||||
|
|
||||||
#include "createtablecommand.h"
|
#include "createtablecommand.h"
|
||||||
|
#include "sqlitetable.h"
|
||||||
|
#include "tablewriteworker.h"
|
||||||
|
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|||||||
@@ -31,12 +31,12 @@
|
|||||||
#ifndef INTERNAL_TABLEWRITEWORKERPROXY_H
|
#ifndef INTERNAL_TABLEWRITEWORKERPROXY_H
|
||||||
#define INTERNAL_TABLEWRITEWORKERPROXY_H
|
#define INTERNAL_TABLEWRITEWORKERPROXY_H
|
||||||
|
|
||||||
|
#include "createtablecommand.h"
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "createtablecommand.h"
|
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
class QThread;
|
class QThread;
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|||||||
@@ -31,11 +31,11 @@
|
|||||||
#ifndef UTF8STRING_H
|
#ifndef UTF8STRING_H
|
||||||
#define UTF8STRING_H
|
#define UTF8STRING_H
|
||||||
|
|
||||||
|
#include "sqliteglobal.h"
|
||||||
|
|
||||||
#include <QByteArray>
|
#include <QByteArray>
|
||||||
#include <QMetaType>
|
#include <QMetaType>
|
||||||
|
|
||||||
#include "sqliteglobal.h"
|
|
||||||
|
|
||||||
class Utf8StringVector;
|
class Utf8StringVector;
|
||||||
class Utf8String;
|
class Utf8String;
|
||||||
|
|
||||||
|
|||||||
@@ -31,12 +31,11 @@
|
|||||||
#ifndef UTF8STRINGVECTOR_H
|
#ifndef UTF8STRINGVECTOR_H
|
||||||
#define UTF8STRINGVECTOR_H
|
#define UTF8STRINGVECTOR_H
|
||||||
|
|
||||||
|
#include "sqliteglobal.h"
|
||||||
#include "utf8string.h"
|
#include "utf8string.h"
|
||||||
|
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
#include "sqliteglobal.h"
|
|
||||||
|
|
||||||
class SQLITE_EXPORT Utf8StringVector : public QVector<Utf8String>
|
class SQLITE_EXPORT Utf8StringVector : public QVector<Utf8String>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -33,10 +33,10 @@
|
|||||||
|
|
||||||
#include <clangbackendipc/codecompletionchunk.h>
|
#include <clangbackendipc/codecompletionchunk.h>
|
||||||
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include <sqlite/utf8string.h>
|
#include <sqlite/utf8string.h>
|
||||||
|
|
||||||
|
#include <QString>
|
||||||
|
|
||||||
namespace ClangCodeModel {
|
namespace ClangCodeModel {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,6 @@
|
|||||||
#ifndef CLANGBACKEND_CLANGCODECOMPLETERESULTS_H
|
#ifndef CLANGBACKEND_CLANGCODECOMPLETERESULTS_H
|
||||||
#define CLANGBACKEND_CLANGCODECOMPLETERESULTS_H
|
#define CLANGBACKEND_CLANGCODECOMPLETERESULTS_H
|
||||||
|
|
||||||
|
|
||||||
#include <clang-c/Index.h>
|
#include <clang-c/Index.h>
|
||||||
|
|
||||||
#include <utf8string.h>
|
#include <utf8string.h>
|
||||||
|
|||||||
@@ -30,25 +30,24 @@
|
|||||||
|
|
||||||
#include "clangipcserver.h"
|
#include "clangipcserver.h"
|
||||||
|
|
||||||
#include <QCoreApplication>
|
|
||||||
|
|
||||||
#include <cmbregistertranslationunitsforcodecompletioncommand.h>
|
|
||||||
#include <cmbunregistertranslationunitsforcodecompletioncommand.h>
|
|
||||||
#include <cmbregisterprojectsforcodecompletioncommand.h>
|
|
||||||
#include <cmbunregisterprojectsforcodecompletioncommand.h>
|
|
||||||
#include <cmbcodecompletedcommand.h>
|
#include <cmbcodecompletedcommand.h>
|
||||||
#include <cmbcompletecodecommand.h>
|
#include <cmbcompletecodecommand.h>
|
||||||
#include <translationunitdoesnotexistcommand.h>
|
#include <cmbregisterprojectsforcodecompletioncommand.h>
|
||||||
|
#include <cmbregistertranslationunitsforcodecompletioncommand.h>
|
||||||
|
#include <cmbunregisterprojectsforcodecompletioncommand.h>
|
||||||
|
#include <cmbunregistertranslationunitsforcodecompletioncommand.h>
|
||||||
#include <projectpartsdonotexistcommand.h>
|
#include <projectpartsdonotexistcommand.h>
|
||||||
|
#include <translationunitdoesnotexistcommand.h>
|
||||||
|
|
||||||
#include "translationunits.h"
|
|
||||||
#include "codecompleter.h"
|
#include "codecompleter.h"
|
||||||
#include "translationunitdoesnotexistexception.h"
|
|
||||||
#include "translationunitisnullexception.h"
|
|
||||||
#include "translationunitfilenotexitexception.h"
|
|
||||||
#include "projectpartsdonotexistexception.h"
|
#include "projectpartsdonotexistexception.h"
|
||||||
|
#include "translationunitdoesnotexistexception.h"
|
||||||
|
#include "translationunitfilenotexitexception.h"
|
||||||
|
#include "translationunitisnullexception.h"
|
||||||
#include "translationunitparseerrorexception.h"
|
#include "translationunitparseerrorexception.h"
|
||||||
|
#include "translationunits.h"
|
||||||
|
|
||||||
|
#include <QCoreApplication>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|||||||
@@ -33,11 +33,11 @@
|
|||||||
|
|
||||||
#include "ipcserverinterface.h"
|
#include "ipcserverinterface.h"
|
||||||
|
|
||||||
#include "translationunit.h"
|
|
||||||
#include "projectpart.h"
|
#include "projectpart.h"
|
||||||
#include "unsavedfiles.h"
|
|
||||||
#include "projects.h"
|
#include "projects.h"
|
||||||
|
#include "translationunit.h"
|
||||||
#include "translationunits.h"
|
#include "translationunits.h"
|
||||||
|
#include "unsavedfiles.h"
|
||||||
|
|
||||||
#include <utf8string.h>
|
#include <utf8string.h>
|
||||||
|
|
||||||
|
|||||||
@@ -30,12 +30,11 @@
|
|||||||
|
|
||||||
#include "codecompleter.h"
|
#include "codecompleter.h"
|
||||||
|
|
||||||
#include "clangstring.h"
|
|
||||||
#include "clangcodecompleteresults.h"
|
#include "clangcodecompleteresults.h"
|
||||||
#include "translationunit.h"
|
#include "clangstring.h"
|
||||||
#include "codecompletefailedexception.h"
|
#include "codecompletefailedexception.h"
|
||||||
|
|
||||||
#include "codecompletionsextractor.h"
|
#include "codecompletionsextractor.h"
|
||||||
|
#include "translationunit.h"
|
||||||
|
|
||||||
#include <clang-c/Index.h>
|
#include <clang-c/Index.h>
|
||||||
|
|
||||||
|
|||||||
@@ -31,11 +31,12 @@
|
|||||||
#ifndef CLANGBACKEND_CODECOMPLETER_H
|
#ifndef CLANGBACKEND_CODECOMPLETER_H
|
||||||
#define CLANGBACKEND_CODECOMPLETER_H
|
#define CLANGBACKEND_CODECOMPLETER_H
|
||||||
|
|
||||||
#include <codecompletion.h>
|
|
||||||
#include <utf8stringvector.h>
|
|
||||||
|
|
||||||
#include "translationunit.h"
|
#include "translationunit.h"
|
||||||
|
|
||||||
|
#include <codecompletion.h>
|
||||||
|
|
||||||
|
#include <utf8stringvector.h>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class TranslationUnit;
|
class TranslationUnit;
|
||||||
|
|||||||
@@ -31,12 +31,12 @@
|
|||||||
#ifndef CLANGBACKEND_CODECOMPLETIONSEXTRACTOR_H
|
#ifndef CLANGBACKEND_CODECOMPLETIONSEXTRACTOR_H
|
||||||
#define CLANGBACKEND_CODECOMPLETIONSEXTRACTOR_H
|
#define CLANGBACKEND_CODECOMPLETIONSEXTRACTOR_H
|
||||||
|
|
||||||
|
#include <codecompletion.h>
|
||||||
|
|
||||||
#include <clang-c/Index.h>
|
#include <clang-c/Index.h>
|
||||||
|
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
#include <codecompletion.h>
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class CodeCompletionsExtractor
|
class CodeCompletionsExtractor
|
||||||
|
|||||||
@@ -30,11 +30,11 @@
|
|||||||
|
|
||||||
#include "projectpart.h"
|
#include "projectpart.h"
|
||||||
|
|
||||||
#include <cstring>
|
#include <projectpartcontainer.h>
|
||||||
|
|
||||||
#include <utf8stringvector.h>
|
#include <utf8stringvector.h>
|
||||||
|
|
||||||
#include <projectpartcontainer.h>
|
#include <cstring>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -31,9 +31,9 @@
|
|||||||
#ifndef CLANGBACKEND_PROJECT_H
|
#ifndef CLANGBACKEND_PROJECT_H
|
||||||
#define CLANGBACKEND_PROJECT_H
|
#define CLANGBACKEND_PROJECT_H
|
||||||
|
|
||||||
|
#include <chrono>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <chrono>
|
|
||||||
|
|
||||||
class Utf8String;
|
class Utf8String;
|
||||||
class Utf8StringVector;
|
class Utf8StringVector;
|
||||||
|
|||||||
@@ -30,10 +30,10 @@
|
|||||||
|
|
||||||
#include "projects.h"
|
#include "projects.h"
|
||||||
|
|
||||||
#include <QtGlobal>
|
|
||||||
|
|
||||||
#include "projectpartsdonotexistexception.h"
|
#include "projectpartsdonotexistexception.h"
|
||||||
|
|
||||||
|
#include <QtGlobal>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
void ProjectParts::createOrUpdate(const QVector<ProjectPartContainer> &projectContainers)
|
void ProjectParts::createOrUpdate(const QVector<ProjectPartContainer> &projectContainers)
|
||||||
|
|||||||
@@ -31,10 +31,10 @@
|
|||||||
#ifndef CLANGBACKEND_PROJECTS_H
|
#ifndef CLANGBACKEND_PROJECTS_H
|
||||||
#define CLANGBACKEND_PROJECTS_H
|
#define CLANGBACKEND_PROJECTS_H
|
||||||
|
|
||||||
#include <projectpartcontainer.h>
|
|
||||||
|
|
||||||
#include "projectpart.h"
|
#include "projectpart.h"
|
||||||
|
|
||||||
|
#include <projectpartcontainer.h>
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|||||||
@@ -30,17 +30,16 @@
|
|||||||
|
|
||||||
#include "translationunit.h"
|
#include "translationunit.h"
|
||||||
|
|
||||||
#include <QFileInfo>
|
#include "codecompleter.h"
|
||||||
|
#include "projectpart.h"
|
||||||
|
#include "translationunitfilenotexitexception.h"
|
||||||
|
#include "translationunitisnullexception.h"
|
||||||
|
#include "translationunitparseerrorexception.h"
|
||||||
|
#include "unsavedfiles.h"
|
||||||
|
|
||||||
#include <utf8string.h>
|
#include <utf8string.h>
|
||||||
|
|
||||||
#include "codecompleter.h"
|
#include <QFileInfo>
|
||||||
|
|
||||||
#include "translationunitisnullexception.h"
|
|
||||||
#include "translationunitfilenotexitexception.h"
|
|
||||||
#include "translationunitparseerrorexception.h"
|
|
||||||
#include "unsavedfiles.h"
|
|
||||||
#include "projectpart.h"
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -33,11 +33,11 @@
|
|||||||
|
|
||||||
#include <clang-c/Index.h>
|
#include <clang-c/Index.h>
|
||||||
|
|
||||||
|
#include <QtGlobal>
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include <QtGlobal>
|
|
||||||
|
|
||||||
class Utf8String;
|
class Utf8String;
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|||||||
@@ -30,8 +30,6 @@
|
|||||||
|
|
||||||
#include "translationunitparseerrorexception.h"
|
#include "translationunitparseerrorexception.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
TranslationUnitParseErrorException::TranslationUnitParseErrorException(const Utf8String &filePath, const Utf8String &projectPartId)
|
TranslationUnitParseErrorException::TranslationUnitParseErrorException(const Utf8String &filePath, const Utf8String &projectPartId)
|
||||||
|
|||||||
@@ -31,13 +31,14 @@
|
|||||||
#ifndef CLANGBACKEND_TRANSLATIONUNITS_H
|
#ifndef CLANGBACKEND_TRANSLATIONUNITS_H
|
||||||
#define CLANGBACKEND_TRANSLATIONUNITS_H
|
#define CLANGBACKEND_TRANSLATIONUNITS_H
|
||||||
|
|
||||||
|
#include "translationunit.h"
|
||||||
|
|
||||||
#include <filecontainer.h>
|
#include <filecontainer.h>
|
||||||
|
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "translationunit.h"
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
class ProjectParts;
|
class ProjectParts;
|
||||||
|
|||||||
@@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
#include "unsavedfiles.h"
|
#include "unsavedfiles.h"
|
||||||
|
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|||||||
@@ -33,14 +33,14 @@
|
|||||||
|
|
||||||
#include <filecontainer.h>
|
#include <filecontainer.h>
|
||||||
|
|
||||||
#include <chrono>
|
|
||||||
#include <vector>
|
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
#include <clang-c/Index.h>
|
#include <clang-c/Index.h>
|
||||||
|
|
||||||
|
#include <chrono>
|
||||||
|
#include <vector>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
using time_point = std::chrono::steady_clock::time_point;
|
using time_point = std::chrono::steady_clock::time_point;
|
||||||
|
|||||||
@@ -30,20 +30,19 @@
|
|||||||
|
|
||||||
#include "echoipcserver.h"
|
#include "echoipcserver.h"
|
||||||
|
|
||||||
#include "cmbendcommand.h"
|
|
||||||
#include "cmbechocommand.h"
|
|
||||||
#include "cmbregistertranslationunitsforcodecompletioncommand.h"
|
|
||||||
#include "cmbunregistertranslationunitsforcodecompletioncommand.h"
|
|
||||||
#include "cmbregisterprojectsforcodecompletioncommand.h"
|
|
||||||
#include "cmbunregisterprojectsforcodecompletioncommand.h"
|
|
||||||
#include "cmbcompletecodecommand.h"
|
|
||||||
#include "cmbcodecompletedcommand.h"
|
#include "cmbcodecompletedcommand.h"
|
||||||
|
#include "cmbcompletecodecommand.h"
|
||||||
|
#include "cmbechocommand.h"
|
||||||
|
#include "cmbendcommand.h"
|
||||||
|
#include "cmbregisterprojectsforcodecompletioncommand.h"
|
||||||
|
#include "cmbregistertranslationunitsforcodecompletioncommand.h"
|
||||||
|
#include "cmbunregisterprojectsforcodecompletioncommand.h"
|
||||||
|
#include "cmbunregistertranslationunitsforcodecompletioncommand.h"
|
||||||
#include "connectionserver.h"
|
#include "connectionserver.h"
|
||||||
|
|
||||||
#include <QtDebug>
|
|
||||||
|
|
||||||
#include <QCoreApplication>
|
#include <QCoreApplication>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
|
|
||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
|
|||||||
@@ -28,11 +28,11 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QCoreApplication>
|
#include <cmbcommands.h>
|
||||||
|
#include <connectionserver.h>
|
||||||
|
#include <echoipcserver.h>
|
||||||
|
|
||||||
#include "echoipcserver.h"
|
#include <QCoreApplication>
|
||||||
#include "connectionserver.h"
|
|
||||||
#include "cmbcommands.h"
|
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -28,18 +28,18 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include <clangcodecompleteresults.h>
|
||||||
#include "gmock/gmock-matchers.h"
|
#include <projectpart.h>
|
||||||
#include "gmock/gmock.h"
|
#include <translationunit.h>
|
||||||
#include "gtest-qt-printing.h"
|
#include <unsavedfiles.h>
|
||||||
|
#include <utf8string.h>
|
||||||
|
|
||||||
#include <clang-c/Index.h>
|
#include <clang-c/Index.h>
|
||||||
|
|
||||||
#include <clangcodecompleteresults.h>
|
#include <gmock/gmock.h>
|
||||||
#include <translationunit.h>
|
#include <gmock/gmock-matchers.h>
|
||||||
#include <projectpart.h>
|
#include <gtest/gtest.h>
|
||||||
#include <unsavedfiles.h>
|
#include <gtest-qt-printing.h>
|
||||||
#include <utf8string.h>
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
|||||||
@@ -28,33 +28,31 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "mockipclient.h"
|
||||||
#include "gmock/gmock-matchers.h"
|
|
||||||
#include "gmock/gmock.h"
|
|
||||||
|
|
||||||
#include "gtest-qt-printing.h"
|
|
||||||
|
|
||||||
|
#include <clangipcserver.h>
|
||||||
#include <ipcclientproxy.h>
|
#include <ipcclientproxy.h>
|
||||||
#include <ipcserverproxy.h>
|
#include <ipcserverproxy.h>
|
||||||
#include <clangipcserver.h>
|
|
||||||
#include <translationunitdoesnotexistexception.h>
|
#include <translationunitdoesnotexistexception.h>
|
||||||
#include <translationunitparseerrorexception.h>
|
#include <translationunitparseerrorexception.h>
|
||||||
|
|
||||||
#include <cmbcodecompletedcommand.h>
|
#include <cmbcodecompletedcommand.h>
|
||||||
#include <cmbcompletecodecommand.h>
|
#include <cmbcompletecodecommand.h>
|
||||||
#include <cmbechocommand.h>
|
#include <cmbechocommand.h>
|
||||||
#include <cmbregistertranslationunitsforcodecompletioncommand.h>
|
|
||||||
#include <cmbunregistertranslationunitsforcodecompletioncommand.h>
|
|
||||||
#include <cmbregisterprojectsforcodecompletioncommand.h>
|
#include <cmbregisterprojectsforcodecompletioncommand.h>
|
||||||
|
#include <cmbregistertranslationunitsforcodecompletioncommand.h>
|
||||||
#include <cmbunregisterprojectsforcodecompletioncommand.h>
|
#include <cmbunregisterprojectsforcodecompletioncommand.h>
|
||||||
#include <translationunitdoesnotexistcommand.h>
|
#include <cmbunregistertranslationunitsforcodecompletioncommand.h>
|
||||||
#include <projectpartsdonotexistcommand.h>
|
#include <projectpartsdonotexistcommand.h>
|
||||||
|
#include <translationunitdoesnotexistcommand.h>
|
||||||
|
|
||||||
#include <QBuffer>
|
#include <QBuffer>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <projectpartsdonotexistcommand.h>
|
|
||||||
|
|
||||||
#include "mockipclient.h"
|
#include <gmock/gmock.h>
|
||||||
|
#include <gmock/gmock-matchers.h>
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
#include <gtest-qt-printing.h>
|
||||||
|
|
||||||
using testing::Property;
|
using testing::Property;
|
||||||
using testing::Contains;
|
using testing::Contains;
|
||||||
|
|||||||
@@ -28,16 +28,17 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include <clangstring.h>
|
||||||
#include "gmock/gmock-matchers.h"
|
|
||||||
#include "gmock/gmock.h"
|
#include <utf8string.h>
|
||||||
#include "gtest-qt-printing.h"
|
|
||||||
|
|
||||||
#include <clang-c/CXString.h>
|
#include <clang-c/CXString.h>
|
||||||
#include <clang-c/Index.h>
|
#include <clang-c/Index.h>
|
||||||
|
|
||||||
#include <clangstring.h>
|
#include <gmock/gmock.h>
|
||||||
#include <utf8string.h>
|
#include <gmock/gmock-matchers.h>
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
#include <gtest-qt-printing.h>
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
|||||||
@@ -28,38 +28,39 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
|
||||||
#include "gmock/gmock-matchers.h"
|
|
||||||
#include "gmock/gmock.h"
|
|
||||||
|
|
||||||
#include "gtest-qt-printing.h"
|
|
||||||
#include "translationunitdoesnotexistcommand.h"
|
|
||||||
|
|
||||||
#include <QString>
|
|
||||||
#include <QBuffer>
|
|
||||||
#include <QVariant>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
#include <cmbendcommand.h>
|
|
||||||
#include <cmbalivecommand.h>
|
|
||||||
#include <cmbcommands.h>
|
|
||||||
#include <cmbechocommand.h>
|
|
||||||
#include <cmbregistertranslationunitsforcodecompletioncommand.h>
|
|
||||||
#include <cmbunregistertranslationunitsforcodecompletioncommand.h>
|
|
||||||
#include <cmbcodecompletedcommand.h>
|
|
||||||
#include <cmbregisterprojectsforcodecompletioncommand.h>
|
|
||||||
#include <cmbunregisterprojectsforcodecompletioncommand.h>
|
|
||||||
#include <cmbcompletecodecommand.h>
|
|
||||||
#include <writecommandblock.h>
|
|
||||||
#include <readcommandblock.h>
|
|
||||||
|
|
||||||
#include <ipcserverproxy.h>
|
|
||||||
#include <ipcclientproxy.h>
|
|
||||||
#include <projectpartsdonotexistcommand.h>
|
|
||||||
|
|
||||||
#include "mockipclient.h"
|
#include "mockipclient.h"
|
||||||
#include "mockipcserver.h"
|
#include "mockipcserver.h"
|
||||||
|
|
||||||
|
#include <ipcclientproxy.h>
|
||||||
|
#include <ipcserverproxy.h>
|
||||||
|
#include <projectpartsdonotexistcommand.h>
|
||||||
|
|
||||||
|
#include <cmbalivecommand.h>
|
||||||
|
#include <cmbcodecompletedcommand.h>
|
||||||
|
#include <cmbcommands.h>
|
||||||
|
#include <cmbcompletecodecommand.h>
|
||||||
|
#include <cmbechocommand.h>
|
||||||
|
#include <cmbendcommand.h>
|
||||||
|
#include <cmbregisterprojectsforcodecompletioncommand.h>
|
||||||
|
#include <cmbregistertranslationunitsforcodecompletioncommand.h>
|
||||||
|
#include <cmbunregisterprojectsforcodecompletioncommand.h>
|
||||||
|
#include <cmbunregistertranslationunitsforcodecompletioncommand.h>
|
||||||
|
#include <readcommandblock.h>
|
||||||
|
#include <translationunitdoesnotexistcommand.h>
|
||||||
|
#include <writecommandblock.h>
|
||||||
|
|
||||||
|
#include <QBuffer>
|
||||||
|
#include <QString>
|
||||||
|
#include <QVariant>
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
#include <gmock/gmock.h>
|
||||||
|
#include <gmock/gmock-matchers.h>
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
#include <gtest-qt-printing.h>
|
||||||
|
|
||||||
using namespace ClangBackEnd;
|
using namespace ClangBackEnd;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|||||||
@@ -28,10 +28,28 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include "mockipclient.h"
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include <cmbalivecommand.h>
|
||||||
#include "gmock/gmock-matchers.h"
|
#include <cmbcodecompletedcommand.h>
|
||||||
#include "gmock/gmock.h"
|
#include <cmbcommands.h>
|
||||||
|
#include <cmbcompletecodecommand.h>
|
||||||
|
#include <cmbechocommand.h>
|
||||||
|
#include <cmbendcommand.h>
|
||||||
|
#include <cmbregisterprojectsforcodecompletioncommand.h>
|
||||||
|
#include <cmbregistertranslationunitsforcodecompletioncommand.h>
|
||||||
|
#include <cmbunregisterprojectsforcodecompletioncommand.h>
|
||||||
|
#include <cmbunregistertranslationunitsforcodecompletioncommand.h>
|
||||||
|
#include <connectionclient.h>
|
||||||
|
#include <projectpartsdonotexistcommand.h>
|
||||||
|
#include <readcommandblock.h>
|
||||||
|
#include <translationunitdoesnotexistcommand.h>
|
||||||
|
#include <writecommandblock.h>
|
||||||
|
|
||||||
|
#include <gmock/gmock.h>
|
||||||
|
#include <gmock/gmock-matchers.h>
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
#include <gtest-qt-printing.h>
|
||||||
|
|
||||||
#include <QBuffer>
|
#include <QBuffer>
|
||||||
#include <QProcess>
|
#include <QProcess>
|
||||||
@@ -41,26 +59,6 @@
|
|||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "gtest-qt-printing.h"
|
|
||||||
|
|
||||||
#include <cmbendcommand.h>
|
|
||||||
#include <cmbalivecommand.h>
|
|
||||||
#include <cmbcommands.h>
|
|
||||||
#include <cmbechocommand.h>
|
|
||||||
#include <cmbregistertranslationunitsforcodecompletioncommand.h>
|
|
||||||
#include <cmbunregistertranslationunitsforcodecompletioncommand.h>
|
|
||||||
#include <cmbregisterprojectsforcodecompletioncommand.h>
|
|
||||||
#include <cmbunregisterprojectsforcodecompletioncommand.h>
|
|
||||||
#include <cmbcodecompletedcommand.h>
|
|
||||||
#include <cmbcompletecodecommand.h>
|
|
||||||
#include <writecommandblock.h>
|
|
||||||
#include <readcommandblock.h>
|
|
||||||
#include <connectionclient.h>
|
|
||||||
#include <translationunitdoesnotexistcommand.h>
|
|
||||||
#include <projectpartsdonotexistcommand.h>
|
|
||||||
|
|
||||||
#include <mockipclient.h>
|
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
#define QTC_HOST_EXE_SUFFIX L".exe"
|
#define QTC_HOST_EXE_SUFFIX L".exe"
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -28,24 +28,23 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include <clangcodecompleteresults.h>
|
||||||
|
#include <codecompletionsextractor.h>
|
||||||
#include "gmock/gmock-matchers.h"
|
#include <filecontainer.h>
|
||||||
#include "gmock/gmock-generated-matchers.h"
|
#include <projectpart.h>
|
||||||
#include "gtest-qt-printing.h"
|
#include <translationunit.h>
|
||||||
|
#include <unsavedfiles.h>
|
||||||
|
#include <utf8stringvector.h>
|
||||||
|
|
||||||
#include <clang-c/Index.h>
|
#include <clang-c/Index.h>
|
||||||
|
|
||||||
#include <codecompletionsextractor.h>
|
|
||||||
#include <clangcodecompleteresults.h>
|
|
||||||
#include <filecontainer.h>
|
|
||||||
#include <translationunit.h>
|
|
||||||
#include <unsavedfiles.h>
|
|
||||||
#include <projectpart.h>
|
|
||||||
#include <utf8stringvector.h>
|
|
||||||
|
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
|
||||||
|
#include <gmock/gmock.h>
|
||||||
|
#include <gmock/gmock-matchers.h>
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
#include <gtest-qt-printing.h>
|
||||||
|
|
||||||
using ClangBackEnd::CodeCompletionsExtractor;
|
using ClangBackEnd::CodeCompletionsExtractor;
|
||||||
using ClangBackEnd::ClangCodeCompleteResults;
|
using ClangBackEnd::ClangCodeCompleteResults;
|
||||||
using ClangBackEnd::TranslationUnit;
|
using ClangBackEnd::TranslationUnit;
|
||||||
|
|||||||
@@ -28,15 +28,14 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
|
||||||
#include "gmock/gmock-matchers.h"
|
|
||||||
#include "gmock/gmock-generated-matchers.h"
|
|
||||||
#include "gtest-qt-printing.h"
|
|
||||||
|
|
||||||
#include <codecompletionchunk.h>
|
#include <codecompletionchunk.h>
|
||||||
#include <completionchunkstotextconverter.h>
|
#include <completionchunkstotextconverter.h>
|
||||||
|
|
||||||
|
#include <gmock/gmock.h>
|
||||||
|
#include <gmock/gmock-matchers.h>
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
#include <gtest-qt-printing.h>
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
using ClangBackEnd::CodeCompletionChunk;
|
using ClangBackEnd::CodeCompletionChunk;
|
||||||
|
|||||||
@@ -1,31 +0,0 @@
|
|||||||
/****************************************************************************
|
|
||||||
**
|
|
||||||
** Copyright (C) 2015 The Qt Company Ltd.
|
|
||||||
** Contact: http://www.qt.io/licensing
|
|
||||||
**
|
|
||||||
** This file is part of Qt Creator.
|
|
||||||
**
|
|
||||||
** Commercial License Usage
|
|
||||||
** Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
** accordance with the commercial license agreement provided with the
|
|
||||||
** Software or, alternatively, in accordance with the terms contained in
|
|
||||||
** a written agreement between you and Digia. For licensing terms and
|
|
||||||
** conditions see http://www.qt.io/licensing. For further information
|
|
||||||
** use the contact form at http://www.qt.io/contact-us.
|
|
||||||
**
|
|
||||||
** GNU Lesser General Public License Usage
|
|
||||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
** General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
** following information to ensure the GNU Lesser General Public License
|
|
||||||
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
**
|
|
||||||
** In addition, as a special exception, Digia gives you certain additional
|
|
||||||
** rights. These rights are described in the Digia Qt LGPL Exception
|
|
||||||
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
**
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
//#include "gtest-qt-printing.h"
|
|
||||||
@@ -31,10 +31,10 @@
|
|||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
#include <gtest/gtest-printers.h>
|
#include <gtest/gtest-printers.h>
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
#ifndef GTESTQTPRINTING_H
|
#ifndef GTESTQTPRINTING_H
|
||||||
#define GTESTQTPRINTING_H
|
#define GTESTQTPRINTING_H
|
||||||
|
|
||||||
|
|||||||
@@ -28,13 +28,15 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
|
||||||
|
|
||||||
#include <cmbcommands.h>
|
|
||||||
#include <sqliteglobal.h>
|
#include <sqliteglobal.h>
|
||||||
|
|
||||||
|
#include <cmbcommands.h>
|
||||||
|
|
||||||
#include <QCoreApplication>
|
#include <QCoreApplication>
|
||||||
|
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
#include <gtest-qt-printing.h>
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
ClangBackEnd::Commands::registerCommands();
|
ClangBackEnd::Commands::registerCommands();
|
||||||
|
|||||||
@@ -33,6 +33,10 @@
|
|||||||
|
|
||||||
#include <ipcclientinterface.h>
|
#include <ipcclientinterface.h>
|
||||||
|
|
||||||
|
#include <gmock/gmock.h>
|
||||||
|
#include <gmock/gmock-matchers.h>
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
#include <gtest-qt-printing.h>
|
||||||
|
|
||||||
class MockIpcClient : public ClangBackEnd::IpcClientInterface {
|
class MockIpcClient : public ClangBackEnd::IpcClientInterface {
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -33,6 +33,11 @@
|
|||||||
|
|
||||||
#include <ipcserverinterface.h>
|
#include <ipcserverinterface.h>
|
||||||
|
|
||||||
|
#include <gmock/gmock.h>
|
||||||
|
#include <gmock/gmock-matchers.h>
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
#include <gtest-qt-printing.h>
|
||||||
|
|
||||||
class MockIpcServer : public ClangBackEnd::IpcServerInterface {
|
class MockIpcServer : public ClangBackEnd::IpcServerInterface {
|
||||||
public:
|
public:
|
||||||
MOCK_METHOD0(end,
|
MOCK_METHOD0(end,
|
||||||
|
|||||||
@@ -28,16 +28,15 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
|
||||||
|
|
||||||
#include "gmock/gmock-matchers.h"
|
|
||||||
#include "gmock/gmock-generated-matchers.h"
|
|
||||||
#include "gtest-qt-printing.h"
|
|
||||||
|
|
||||||
#include <projectpart.h>
|
#include <projectpart.h>
|
||||||
#include <utf8stringvector.h>
|
|
||||||
#include <projects.h>
|
|
||||||
#include <projectpartsdonotexistexception.h>
|
#include <projectpartsdonotexistexception.h>
|
||||||
|
#include <projects.h>
|
||||||
|
#include <utf8stringvector.h>
|
||||||
|
|
||||||
|
#include <gmock/gmock.h>
|
||||||
|
#include <gmock/gmock-matchers.h>
|
||||||
|
#include <gtest/gtest.h>
|
||||||
|
#include <gtest-qt-printing.h>
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|||||||
@@ -28,26 +28,25 @@
|
|||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include <cmbalivecommand.h>
|
||||||
#include "gmock/gmock-matchers.h"
|
#include <cmbcodecompletedcommand.h>
|
||||||
#include "gtest-qt-printing.h"
|
#include <cmbcommands.h>
|
||||||
|
#include <cmbcompletecodecommand.h>
|
||||||
|
#include <cmbendcommand.h>
|
||||||
|
#include <cmbregistertranslationunitsforcodecompletioncommand.h>
|
||||||
|
#include <cmbunregistertranslationunitsforcodecompletioncommand.h>
|
||||||
|
#include <readcommandblock.h>
|
||||||
|
#include <writecommandblock.h>
|
||||||
|
|
||||||
#include <QString>
|
|
||||||
#include <QBuffer>
|
#include <QBuffer>
|
||||||
|
#include <QString>
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <cmbendcommand.h>
|
#include <gmock/gmock.h>
|
||||||
#include <cmbalivecommand.h>
|
#include <gmock/gmock-matchers.h>
|
||||||
#include <cmbcommands.h>
|
#include <gtest/gtest.h>
|
||||||
#include <cmbregistertranslationunitsforcodecompletioncommand.h>
|
#include <gtest-qt-printing.h>
|
||||||
#include <cmbunregistertranslationunitsforcodecompletioncommand.h>
|
|
||||||
#include <cmbcodecompletedcommand.h>
|
|
||||||
#include <cmbcompletecodecommand.h>
|
|
||||||
#include <writecommandblock.h>
|
|
||||||
#include <readcommandblock.h>
|
|
||||||
|
|
||||||
#include "gtest-qt-printing.h"
|
|
||||||
|
|
||||||
using namespace testing;
|
using namespace testing;
|
||||||
namespace CodeModelBackeEndTest {
|
namespace CodeModelBackeEndTest {
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user