15#ifndef LLVM_CLANG_DRIVER_MODULESDRIVER_H
16#define LLVM_CLANG_DRIVER_MODULESDRIVER_H
20#include "llvm/Support/Error.h"
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
Concrete class used by the front-end to report problems and issues.
Compilation - A set of tasks to perform for a single driver invocation.
void buildStdModuleManifestInputs(ArrayRef< StdModuleManifest::Module > ManifestEntries, Compilation &C, InputList &Inputs)
Constructs compilation inputs for each module listed in the provided Standard library module manifest...
void runModulesDriver(Compilation &C, ArrayRef< StdModuleManifest::Module > ManifestEntries)
Scans the compilation inputs for module dependencies and adjusts the compilation to build and supply ...
llvm::Expected< StdModuleManifest > readStdModuleManifest(llvm::StringRef ManifestPath, llvm::vfs::FileSystem &VFS)
Reads the Standard library module manifest at ManifestPath.
llvm::SmallVector< InputTy, 16 > InputList
A list of inputs and their types for the given arguments.
The JSON file list parser is used to communicate input to InstallAPI.
std::vector< std::string > SystemIncludeDirs
std::optional< LocalArguments > LocalArgs
The parsed Standard library module manifest.
std::vector< Module > Modules