forked from qt-creator/qt-creator
Clang: Move path watcher to clang support
Change-Id: I3b54304bcbba750ef826e6244b8f6c7000c9cf9b Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <clangpchmanagerbackend_global.h>
|
||||
#include "clangsupport_global.h"
|
||||
|
||||
#include <utils/smallstringvector.h>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
namespace ClangBackEnd {
|
||||
|
||||
template <typename Timer>
|
||||
class ChangedFilePathCompressor non_unittest_final
|
||||
class ChangedFilePathCompressor
|
||||
{
|
||||
public:
|
||||
ChangedFilePathCompressor()
|
@@ -28,9 +28,8 @@
|
||||
#include "clangpathwatcherinterface.h"
|
||||
#include "clangpathwatchernotifier.h"
|
||||
#include "changedfilepathcompressor.h"
|
||||
|
||||
#include <filepathcachinginterface.h>
|
||||
#include <stringcache.h>
|
||||
#include "filepathcachinginterface.h"
|
||||
#include "stringcache.h"
|
||||
|
||||
#include <QTimer>
|
||||
|
@@ -33,7 +33,7 @@ namespace ClangBackEnd {
|
||||
|
||||
class ClangPathWatcherNotifier;
|
||||
|
||||
class ClangPathWatcherInterface
|
||||
class CLANGSUPPORT_EXPORT ClangPathWatcherInterface
|
||||
{
|
||||
public:
|
||||
virtual ~ClangPathWatcherInterface();
|
@@ -25,11 +25,13 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "clangsupport_global.h"
|
||||
|
||||
#include <utils/smallstringvector.h>
|
||||
|
||||
namespace ClangBackEnd {
|
||||
|
||||
class ClangPathWatcherNotifier
|
||||
class CLANGSUPPORT_EXPORT ClangPathWatcherNotifier
|
||||
{
|
||||
public:
|
||||
virtual ~ClangPathWatcherNotifier();
|
@@ -16,6 +16,8 @@ SOURCES += \
|
||||
$$PWD/clangcodemodelconnectionclient.cpp \
|
||||
$$PWD/clangcodemodelserverinterface.cpp \
|
||||
$$PWD/clangcodemodelserverproxy.cpp \
|
||||
$$PWD/clangpathwatcherinterface.cpp \
|
||||
$$PWD/clangpathwatchernotifier.cpp \
|
||||
$$PWD/cmbalivemessage.cpp \
|
||||
$$PWD/cmbcodecompletedmessage.cpp \
|
||||
$$PWD/cmbcompletecodemessage.cpp \
|
||||
@@ -87,6 +89,9 @@ SOURCES += \
|
||||
|
||||
HEADERS += \
|
||||
$$PWD/cancelmessage.h \
|
||||
$$PWD/clangpathwatcher.h \
|
||||
$$PWD/clangpathwatcherinterface.h \
|
||||
$$PWD/clangpathwatchernotifier.h \
|
||||
$$PWD/clangsupportdebugutils.h \
|
||||
$$PWD/clangsupport_global.h \
|
||||
$$PWD/clangcodemodelclientinterface.h \
|
||||
@@ -124,6 +129,7 @@ HEADERS += \
|
||||
$$PWD/fixitcontainer.h \
|
||||
$$PWD/followsymbolmessage.h \
|
||||
$$PWD/highlightingmarkcontainer.h \
|
||||
$$PWD/idpaths.h \
|
||||
$$PWD/ipcclientinterface.h \
|
||||
$$PWD/ipcinterface.h \
|
||||
$$PWD/ipcserverinterface.h \
|
||||
|
@@ -27,7 +27,7 @@
|
||||
|
||||
#include <utils/smallstring.h>
|
||||
|
||||
#include <filepathid.h>
|
||||
#include "filepathid.h"
|
||||
|
||||
namespace ClangBackEnd {
|
||||
|
@@ -36,18 +36,11 @@ QtcTool {
|
||||
Group {
|
||||
prefix: "source/"
|
||||
files: [
|
||||
"changedfilepathcompressor.h",
|
||||
"clangpathwatcherinterface.cpp",
|
||||
"clangpathwatcherinterface.h",
|
||||
"clangpathwatchernotifier.cpp",
|
||||
"clangpathwatchernotifier.h",
|
||||
"clangpathwatcher.h",
|
||||
"clangpchmanagerbackend_global.h",
|
||||
"collectincludesaction.h",
|
||||
"collectincludespreprocessorcallbacks.h",
|
||||
"collectincludestoolaction.h",
|
||||
"environment.h",
|
||||
"idpaths.h",
|
||||
"includecollector.cpp",
|
||||
"includecollector.h",
|
||||
"pchcreatorinterface.cpp",
|
||||
|
@@ -4,9 +4,7 @@ SOURCES += \
|
||||
$$PWD/pchmanagerserver.cpp \
|
||||
$$PWD/projectparts.cpp \
|
||||
$$PWD/pchcreatorinterface.cpp \
|
||||
$$PWD/clangpathwatcherinterface.cpp \
|
||||
$$PWD/projectpartsinterface.cpp \
|
||||
$$PWD/clangpathwatchernotifier.cpp \
|
||||
$$PWD/pchgeneratornotifierinterface.cpp \
|
||||
$$PWD/pchgeneratorinterface.cpp
|
||||
|
||||
@@ -15,14 +13,9 @@ HEADERS += \
|
||||
$$PWD/clangpchmanagerbackend_global.h \
|
||||
$$PWD/pchnotcreatederror.h \
|
||||
$$PWD/environment.h \
|
||||
$$PWD/clangpathwatcher.h \
|
||||
$$PWD/projectparts.h \
|
||||
$$PWD/idpaths.h \
|
||||
$$PWD/pchcreatorinterface.h \
|
||||
$$PWD/clangpathwatcherinterface.h \
|
||||
$$PWD/projectpartsinterface.h \
|
||||
$$PWD/clangpathwatchernotifier.h \
|
||||
$$PWD/changedfilepathcompressor.h \
|
||||
$$PWD/pchgenerator.h \
|
||||
$$PWD/pchgeneratornotifierinterface.h \
|
||||
$$PWD/pchgeneratorinterface.h
|
||||
|
Reference in New Issue
Block a user