|
clang 23.0.0git
|
#include "clang/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 41 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 60 of file ModuleDepCollector.h.
References clang::dependencies::ModuleFile.
|
inline |
Read-only access to vfs map files.
Definition at line 53 of file ModuleDepCollector.h.
|
inline |
Read-only access to whether the module is made up of dependencies in stable directories.
Definition at line 50 of file ModuleDepCollector.h.
Referenced by updateDependentsNotInStableDirs().
Update whether the prebuilt module resolves entirely in a stable directories.
Definition at line 66 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 56 of file ModuleDepCollector.h.
References clang::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 33 of file ModuleDepCollector.cpp.
References isInStableDir(), and setInStableDir().