clang 22.0.0git
|
#include "clang/Tooling/DependencyScanning/ModuleDepCollector.h"
Public Member Functions | |
void | updateDependentsNotInStableDirs (PrebuiltModulesAttrsMap &PrebuiltModulesMap) |
When a module is discovered to not be in stable directories, traverse & update all modules that depend on it. | |
bool | isInStableDir () const |
Read-only access to whether the module is made up of dependencies in stable directories. | |
const llvm::StringSet & | getVFS () const |
Read-only access to vfs map files. | |
void | setVFS (llvm::StringSet<> &&VFS) |
Update the VFSMap to the one discovered from serializing the AST file. | |
void | addDependent (StringRef ModuleFile) |
Add a direct dependent module file, so it can be updated if the current module is from stable directores. | |
void | setInStableDir (bool V=false) |
Update whether the prebuilt module resolves entirely in a stable directories. |
Definition at line 53 of file ModuleDepCollector.h.
|
inline |
Add a direct dependent module file, so it can be updated if the current module is from stable directores.
Definition at line 72 of file ModuleDepCollector.h.
References clang::tooling::dependencies::ModuleFile.
|
inline |
Read-only access to vfs map files.
Definition at line 65 of file ModuleDepCollector.h.
|
inline |
Read-only access to whether the module is made up of dependencies in stable directories.
Definition at line 62 of file ModuleDepCollector.h.
Referenced by updateDependentsNotInStableDirs().
Update whether the prebuilt module resolves entirely in a stable directories.
Definition at line 78 of file ModuleDepCollector.h.
References V.
Referenced by updateDependentsNotInStableDirs().
|
inline |
Update the VFSMap to the one discovered from serializing the AST file.
Definition at line 68 of file ModuleDepCollector.h.
References clang::tooling::dependencies::VFS.
void PrebuiltModuleASTAttrs::updateDependentsNotInStableDirs | ( | PrebuiltModulesAttrsMap & | PrebuiltModulesMap | ) |
When a module is discovered to not be in stable directories, traverse & update all modules that depend on it.
Definition at line 43 of file ModuleDepCollector.cpp.
References isInStableDir(), and setInStableDir().