Commit 7c0331ab authored by Marco Bubke's avatar Marco Bubke

Clang: Rename library clangbackendipc to clangsupport

We already share same classes there which has nothing to do with IPC and
I want to more for sharing. So we should use a name which fits better.

Change-Id: Idfb12b6de714206117b92634ad719c6a0e290e78
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 46ba29b8
QTC_LIB_NAME = Clangbackendipc
QTC_LIB_DEPENDS += sqlite utils
INCLUDEPATH *= $$IDE_SOURCE_TREE/src/libs/clangbackendipc
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
namespace ClangBackEnd {
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include "clangcodemodelclientinterface.h"
#include "readmessageblock.h"
#include "writemessageblock.h"
......
shared {
DEFINES += CLANGBACKENDIPC_BUILD_LIB
DEFINES += CLANGSUPPORT_BUILD_LIB
} else {
DEFINES += CLANGBACKENDIPC_BUILD_STATIC_LIB
DEFINES += CLANGSUPPORT_BUILD_STATIC_LIB
}
QT += network
......@@ -10,7 +10,7 @@ INCLUDEPATH += $$PWD
SOURCES += \
$$PWD/cancelmessage.cpp \
$$PWD/clangbackendipcdebugutils.cpp \
$$PWD/clangsupportdebugutils.cpp \
$$PWD/clangcodemodelclientinterface.cpp \
$$PWD/clangcodemodelclientproxy.cpp \
$$PWD/clangcodemodelconnectionclient.cpp \
......@@ -88,8 +88,8 @@ SOURCES += \
HEADERS += \
$$PWD/cancelmessage.h \
$$PWD/clangbackendipcdebugutils.h \
$$PWD/clangbackendipc_global.h \
$$PWD/clangsupportdebugutils.h \
$$PWD/clangsupport_global.h \
$$PWD/clangcodemodelclientinterface.h \
$$PWD/clangcodemodelclientmessages.h \
$$PWD/clangcodemodelclientproxy.h \
......
include(../../qtcreatorlibrary.pri)
include(clangbackendipc-lib.pri)
include(clangsupport-lib.pri)
import qbs 1.0
QtcLibrary {
name: "ClangBackEndIpc"
name: "ClangSupport"
targetName: "Clangbackendipc"
Depends { name: "Qt.network" }
Depends { name: "Sqlite" }
Depends { name: "Utils" }
cpp.defines: base.concat("CLANGBACKENDIPC_BUILD_LIB")
cpp.defines: base.concat("CLANGSUPPORT_BUILD_LIB")
cpp.includePaths: base.concat(".")
Group {
......
QTC_LIB_NAME = Clangsupport
QTC_LIB_DEPENDS += sqlite utils
INCLUDEPATH *= $$IDE_SOURCE_TREE/src/libs/clangsupport
......@@ -35,9 +35,9 @@
#include <gtest/gtest.h>
#endif
#if defined(CLANGBACKENDIPC_BUILD_LIB)
#if defined(CLANGSUPPORT_BUILD_LIB)
# define CMBIPC_EXPORT Q_DECL_EXPORT
#elif defined(CLANGBACKENDIPC_BUILD_STATIC_LIB)
#elif defined(CLANGSUPPORT_BUILD_STATIC_LIB)
# define CMBIPC_EXPORT
#else
# define CMBIPC_EXPORT Q_DECL_IMPORT
......
......@@ -23,7 +23,7 @@
**
****************************************************************************/
#include "clangbackendipcdebugutils.h"
#include "clangsupportdebugutils.h"
#include "filecontainer.h"
......@@ -43,7 +43,7 @@ class DebugInspectionDir : public QTemporaryDir
{
public:
DebugInspectionDir()
: QTemporaryDir(QDir::tempPath() + QLatin1String("/qtc-clangbackendipc-XXXXXX"))
: QTemporaryDir(QDir::tempPath() + QLatin1String("/qtc-clangsupport-XXXXXX"))
{
setAutoRemove(false); // Keep around for later inspection.
}
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <QElapsedTimer>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <QDataStream>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <utf8string.h>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include "messageenvelop.h"
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <QDataStream>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <utf8stringvector.h>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include "filecontainer.h"
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include "codecompletionchunk.h"
#include <utf8string.h>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <utf8string.h>
......
......@@ -25,7 +25,7 @@
#include "connectionclient.h"
#include "clangbackendipcdebugutils.h"
#include "clangsupportdebugutils.h"
#include <QCoreApplication>
#include <QMetaMethod>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <QCoreApplication>
#include <QLocalServer>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include "diagnosticcontainer.h"
#include "filecontainer.h"
#include "highlightingmarkcontainer.h"
......
......@@ -25,7 +25,7 @@
#include "filecontainer.h"
#include "clangbackendipcdebugutils.h"
#include "clangsupportdebugutils.h"
#include <QDebug>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <utf8string.h>
#include <utf8stringvector.h>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include "filepath.h"
#include <vector>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <utils/smallstringio.h>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <QDataStream>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <QtGlobal>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <QString>
#include <QTextStream>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <QByteArray>
#include <QDataStream>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include "pchmanagerclientinterface.h"
#include "readmessageblock.h"
#include "writemessageblock.h"
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include "pchmanagerserverinterface.h"
#include "readmessageblock.h"
#include "writemessageblock.h"
......
......@@ -25,7 +25,7 @@
#include "projectpartcontainer.h"
#include "clangbackendipcdebugutils.h"
#include "clangsupportdebugutils.h"
#include <QDebug>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <utf8stringvector.h>
......
......@@ -25,7 +25,7 @@
#pragma once
#include "clangbackendipc_global.h"
#include "clangsupport_global.h"
#include <utils/smallstringio.h>
......