9#ifndef LLDB_SOURCE_PLUGINS_EXPRESSIONPARSER_CLANG_MODULEDEPENDENCYCOLLECTOR_H
10#define LLDB_SOURCE_PLUGINS_EXPRESSIONPARSER_CLANG_MODULEDEPENDENCYCOLLECTOR_H
12#include "clang/Frontend/Utils.h"
13#include "llvm/ADT/StringRef.h"
14#include "llvm/Support/FileCollector.h"
18 :
public clang::ModuleDependencyCollector {
21 std::shared_ptr<llvm::FileCollectorBase> file_collector)
26 llvm::StringRef FileDst = {})
override {
31 bool insertSeen(llvm::StringRef Filename)
override {
return false; }
32 void addFileMapping(llvm::StringRef VPath, llvm::StringRef RPath)
override {}
void addFileMapping(llvm::StringRef VPath, llvm::StringRef RPath) override
void writeFileMap() override
void addFile(llvm::StringRef Filename, llvm::StringRef FileDst={}) override
bool insertSeen(llvm::StringRef Filename) override
std::shared_ptr< llvm::FileCollectorBase > m_file_collector
ModuleDependencyCollectorAdaptor(std::shared_ptr< llvm::FileCollectorBase > file_collector)
A class that represents a running process on the host machine.