9#ifndef LLVM_CLANG_TOOLING_DEPENDENCYSCANNING_DEPENDENCYSCANNINGWORKER_H
10#define LLVM_CLANG_TOOLING_DEPENDENCYSCANNING_DEPENDENCYSCANNINGWORKER_H
18#include "llvm/Support/Error.h"
19#include "llvm/Support/FileSystem.h"
20#include "llvm/Support/MemoryBufferRef.h"
47 std::optional<P1689ModuleInfo> Provided,
48 std::vector<P1689ModuleInfo> Requires) {}
104 StringRef WorkingDirectory,
const std::vector<std::string> &CommandLine,
107 std::optional<llvm::MemoryBufferRef> TUBuffer = std::nullopt);
115 StringRef WorkingDirectory,
const std::vector<std::string> &CommandLine,
117 std::optional<llvm::MemoryBufferRef> TUBuffer = std::nullopt);
129 StringRef CWD,
const std::vector<std::string> &CommandLine);
152 StringRef CWD,
const std::vector<std::string> &CommandLine,
160 llvm::vfs::FileSystem &
getVFS()
const {
return *BaseFS; }
165 std::shared_ptr<PCHContainerOperations> PCHContainerOps;
176 std::unique_ptr<CompilerInstanceWithContext> CIWithContext;
179 bool scanDependencies(StringRef WorkingDirectory,
180 const std::vector<std::string> &CommandLine,
Defines the clang::FileManager interface and associated types.
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
DependencyOutputOptions - Options for controlling the compiler dependency file generation.
Abstract interface, implemented by clients of the front-end, which formats and prints fully processed...
The JSON file list parser is used to communicate input to InstallAPI.