Clang: Move path watcher to clang support

Change-Id: I3b54304bcbba750ef826e6244b8f6c7000c9cf9b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Marco Bubke
2017-10-25 17:51:39 +02:00
parent 7d550cd7c4
commit b0137c3a01
10 changed files with 15 additions and 22 deletions

View File

@@ -25,7 +25,7 @@
#pragma once #pragma once
#include <clangpchmanagerbackend_global.h> #include "clangsupport_global.h"
#include <utils/smallstringvector.h> #include <utils/smallstringvector.h>
@@ -36,7 +36,7 @@
namespace ClangBackEnd { namespace ClangBackEnd {
template <typename Timer> template <typename Timer>
class ChangedFilePathCompressor non_unittest_final class ChangedFilePathCompressor
{ {
public: public:
ChangedFilePathCompressor() ChangedFilePathCompressor()

View File

@@ -28,9 +28,8 @@
#include "clangpathwatcherinterface.h" #include "clangpathwatcherinterface.h"
#include "clangpathwatchernotifier.h" #include "clangpathwatchernotifier.h"
#include "changedfilepathcompressor.h" #include "changedfilepathcompressor.h"
#include "filepathcachinginterface.h"
#include <filepathcachinginterface.h> #include "stringcache.h"
#include <stringcache.h>
#include <QTimer> #include <QTimer>

View File

@@ -33,7 +33,7 @@ namespace ClangBackEnd {
class ClangPathWatcherNotifier; class ClangPathWatcherNotifier;
class ClangPathWatcherInterface class CLANGSUPPORT_EXPORT ClangPathWatcherInterface
{ {
public: public:
virtual ~ClangPathWatcherInterface(); virtual ~ClangPathWatcherInterface();

View File

@@ -25,11 +25,13 @@
#pragma once #pragma once
#include "clangsupport_global.h"
#include <utils/smallstringvector.h> #include <utils/smallstringvector.h>
namespace ClangBackEnd { namespace ClangBackEnd {
class ClangPathWatcherNotifier class CLANGSUPPORT_EXPORT ClangPathWatcherNotifier
{ {
public: public:
virtual ~ClangPathWatcherNotifier(); virtual ~ClangPathWatcherNotifier();

View File

@@ -16,6 +16,8 @@ SOURCES += \
$$PWD/clangcodemodelconnectionclient.cpp \ $$PWD/clangcodemodelconnectionclient.cpp \
$$PWD/clangcodemodelserverinterface.cpp \ $$PWD/clangcodemodelserverinterface.cpp \
$$PWD/clangcodemodelserverproxy.cpp \ $$PWD/clangcodemodelserverproxy.cpp \
$$PWD/clangpathwatcherinterface.cpp \
$$PWD/clangpathwatchernotifier.cpp \
$$PWD/cmbalivemessage.cpp \ $$PWD/cmbalivemessage.cpp \
$$PWD/cmbcodecompletedmessage.cpp \ $$PWD/cmbcodecompletedmessage.cpp \
$$PWD/cmbcompletecodemessage.cpp \ $$PWD/cmbcompletecodemessage.cpp \
@@ -87,6 +89,9 @@ SOURCES += \
HEADERS += \ HEADERS += \
$$PWD/cancelmessage.h \ $$PWD/cancelmessage.h \
$$PWD/clangpathwatcher.h \
$$PWD/clangpathwatcherinterface.h \
$$PWD/clangpathwatchernotifier.h \
$$PWD/clangsupportdebugutils.h \ $$PWD/clangsupportdebugutils.h \
$$PWD/clangsupport_global.h \ $$PWD/clangsupport_global.h \
$$PWD/clangcodemodelclientinterface.h \ $$PWD/clangcodemodelclientinterface.h \
@@ -124,6 +129,7 @@ HEADERS += \
$$PWD/fixitcontainer.h \ $$PWD/fixitcontainer.h \
$$PWD/followsymbolmessage.h \ $$PWD/followsymbolmessage.h \
$$PWD/highlightingmarkcontainer.h \ $$PWD/highlightingmarkcontainer.h \
$$PWD/idpaths.h \
$$PWD/ipcclientinterface.h \ $$PWD/ipcclientinterface.h \
$$PWD/ipcinterface.h \ $$PWD/ipcinterface.h \
$$PWD/ipcserverinterface.h \ $$PWD/ipcserverinterface.h \

View File

@@ -27,7 +27,7 @@
#include <utils/smallstring.h> #include <utils/smallstring.h>
#include <filepathid.h> #include "filepathid.h"
namespace ClangBackEnd { namespace ClangBackEnd {

View File

@@ -36,18 +36,11 @@ QtcTool {
Group { Group {
prefix: "source/" prefix: "source/"
files: [ files: [
"changedfilepathcompressor.h",
"clangpathwatcherinterface.cpp",
"clangpathwatcherinterface.h",
"clangpathwatchernotifier.cpp",
"clangpathwatchernotifier.h",
"clangpathwatcher.h",
"clangpchmanagerbackend_global.h", "clangpchmanagerbackend_global.h",
"collectincludesaction.h", "collectincludesaction.h",
"collectincludespreprocessorcallbacks.h", "collectincludespreprocessorcallbacks.h",
"collectincludestoolaction.h", "collectincludestoolaction.h",
"environment.h", "environment.h",
"idpaths.h",
"includecollector.cpp", "includecollector.cpp",
"includecollector.h", "includecollector.h",
"pchcreatorinterface.cpp", "pchcreatorinterface.cpp",

View File

@@ -4,9 +4,7 @@ SOURCES += \
$$PWD/pchmanagerserver.cpp \ $$PWD/pchmanagerserver.cpp \
$$PWD/projectparts.cpp \ $$PWD/projectparts.cpp \
$$PWD/pchcreatorinterface.cpp \ $$PWD/pchcreatorinterface.cpp \
$$PWD/clangpathwatcherinterface.cpp \
$$PWD/projectpartsinterface.cpp \ $$PWD/projectpartsinterface.cpp \
$$PWD/clangpathwatchernotifier.cpp \
$$PWD/pchgeneratornotifierinterface.cpp \ $$PWD/pchgeneratornotifierinterface.cpp \
$$PWD/pchgeneratorinterface.cpp $$PWD/pchgeneratorinterface.cpp
@@ -15,14 +13,9 @@ HEADERS += \
$$PWD/clangpchmanagerbackend_global.h \ $$PWD/clangpchmanagerbackend_global.h \
$$PWD/pchnotcreatederror.h \ $$PWD/pchnotcreatederror.h \
$$PWD/environment.h \ $$PWD/environment.h \
$$PWD/clangpathwatcher.h \
$$PWD/projectparts.h \ $$PWD/projectparts.h \
$$PWD/idpaths.h \
$$PWD/pchcreatorinterface.h \ $$PWD/pchcreatorinterface.h \
$$PWD/clangpathwatcherinterface.h \
$$PWD/projectpartsinterface.h \ $$PWD/projectpartsinterface.h \
$$PWD/clangpathwatchernotifier.h \
$$PWD/changedfilepathcompressor.h \
$$PWD/pchgenerator.h \ $$PWD/pchgenerator.h \
$$PWD/pchgeneratornotifierinterface.h \ $$PWD/pchgeneratornotifierinterface.h \
$$PWD/pchgeneratorinterface.h $$PWD/pchgeneratorinterface.h