aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/clangpchmanagerbackend/source/collectbuilddependencytoolaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clangpchmanagerbackend/source/collectbuilddependencytoolaction.h')
-rw-r--r--src/tools/clangpchmanagerbackend/source/collectbuilddependencytoolaction.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/tools/clangpchmanagerbackend/source/collectbuilddependencytoolaction.h b/src/tools/clangpchmanagerbackend/source/collectbuilddependencytoolaction.h
index 4f28d0f7c8..471291ee90 100644
--- a/src/tools/clangpchmanagerbackend/source/collectbuilddependencytoolaction.h
+++ b/src/tools/clangpchmanagerbackend/source/collectbuilddependencytoolaction.h
@@ -38,13 +38,11 @@ class CollectBuildDependencyToolAction final : public clang::tooling::FrontendAc
{
public:
CollectBuildDependencyToolAction(BuildDependency &buildDependency,
- const FilePathCachingInterface &filePathCache,
- const ClangBackEnd::FilePaths &excludedIncludes,
- SourcesManager &sourcesManager)
- : m_buildDependency(buildDependency),
- m_filePathCache(filePathCache),
- m_excludedFilePaths(excludedIncludes),
- m_sourcesManager(sourcesManager)
+ const FilePathCachingInterface &filePathCache,
+ const ClangBackEnd::FilePaths &excludedIncludes)
+ : m_buildDependency(buildDependency)
+ , m_filePathCache(filePathCache)
+ , m_excludedFilePaths(excludedIncludes)
{}
@@ -67,8 +65,7 @@ public:
return new CollectBuildDependencyAction(m_buildDependency,
m_filePathCache,
m_excludedIncludeUIDs,
- m_alreadyIncludedFileUIDs,
- m_sourcesManager);
+ m_alreadyIncludedFileUIDs);
}
std::vector<uint> generateExcludedIncludeFileUIDs(clang::FileManager &fileManager) const
@@ -95,7 +92,6 @@ private:
BuildDependency &m_buildDependency;
const FilePathCachingInterface &m_filePathCache;
const ClangBackEnd::FilePaths &m_excludedFilePaths;
- SourcesManager &m_sourcesManager;
};
} // namespace ClangBackEnd