Go to the documentation of this file.
9 #ifndef LLVM_CLANG_TOOLING_DEPENDENCYSCANNING_MODULEDEPCOLLECTOR_H
10 #define LLVM_CLANG_TOOLING_DEPENDENCYSCANNING_MODULEDEPCOLLECTOR_H
19 #include "llvm/ADT/DenseMap.h"
20 #include "llvm/ADT/StringSet.h"
21 #include "llvm/Support/raw_ostream.h"
23 #include <unordered_map>
27 namespace dependencies {
29 class DependencyConsumer;
117 std::function<StringRef(
ModuleID)> LookupPCMPath)
const;
138 StringRef FileName,
bool IsAngled,
141 StringRef RelativePath,
const Module *Imported,
144 const Module *Imported)
override;
156 void handleImport(
const Module *Imported);
200 std::vector<std::string> FileDeps;
202 std::unordered_map<const Module *, ModuleDeps> ModularDeps;
204 std::unique_ptr<DependencyOutputOptions> Opts;
211 bool isPrebuiltModule(
const Module *M);
225 #endif // LLVM_CLANG_TOOLING_DEPENDENCYSCANNING_MODULEDEPCOLLECTOR_H
Encodes a location in the source.
This interface provides a way to observe the actions of the preprocessor as it does its thing.
CharacteristicKind
Indicates whether a file or directory holds normal user code, system code, or system code which is im...
Token - This structure provides full information about a lexed token.
__SIZE_TYPE__ size_t
The unsigned integer type of the result of the sizeof operator.
Describes a module or submodule.
An interface for collecting the dependencies of a compilation.
static std::string getName(const CallEvent &Call)
CompilerInstance - Helper class for managing a single instance of the Clang compiler.
Represents a character-granular source range.
Reads an AST files chain containing the contents of a translation unit.
An opaque identifier used by SourceManager which refers to a source file (MemoryBuffer) along with it...
Helper class for holding the data necessary to invoke the compiler.
Engages in a tight little dance with the lexer to efficiently preprocess tokens.