clang API Documentation
#include <Utils.h>
Public Member Functions | |
StringRef | getDest () |
bool | insertSeen (StringRef Filename) |
void | setHasErrors () |
void | addFileMapping (StringRef VPath, StringRef RPath) |
void | attachToASTReader (ASTReader &R) |
void | writeFileMap () |
bool | hasErrors () |
ModuleDependencyCollector (std::string DestDir) | |
~ModuleDependencyCollector () |
Collects the dependencies for imported modules into a directory. Users should attach to the AST reader whenever a module is loaded.
clang::ModuleDependencyCollector::ModuleDependencyCollector | ( | std::string | DestDir | ) | [inline] |
Definition at line 139 of file Utils.h.
References writeFileMap().
void clang::ModuleDependencyCollector::addFileMapping | ( | StringRef | VPath, |
StringRef | RPath | ||
) | [inline] |
Definition at line 130 of file Utils.h.
References clang::vfs::YAMLVFSWriter::addFileMapping().
Definition at line 40 of file ModuleDependencyCollector.cpp.
References clang::ASTReader::addListener().
StringRef clang::ModuleDependencyCollector::getDest | ( | ) | [inline] |
Definition at line 127 of file Utils.h.
Referenced by writeFileMap().
bool clang::ModuleDependencyCollector::hasErrors | ( | ) | [inline] |
bool clang::ModuleDependencyCollector::insertSeen | ( | StringRef | Filename | ) | [inline] |
void clang::ModuleDependencyCollector::setHasErrors | ( | ) | [inline] |
Definition at line 129 of file Utils.h.
Referenced by writeFileMap().
Definition at line 44 of file ModuleDependencyCollector.cpp.
References getDest(), setHasErrors(), and clang::vfs::YAMLVFSWriter::write().
Referenced by ~ModuleDependencyCollector().