Lines Matching defs:ModuleManager
1 //===--- ModuleManager.cpp - Module Manager ---------------------*- C++ -*-===//
10 // This file defines the ModuleManager class, which manages a set of loaded
14 #include "clang/Serialization/ModuleManager.h"
26 ModuleFile *ModuleManager::lookup(StringRef Name) {
31 llvm::MemoryBuffer *ModuleManager::lookupBuffer(StringRef Name) {
37 ModuleManager::addModule(StringRef FileName, ModuleKind Type,
90 void ModuleManager::addInMemoryBuffer(StringRef FileName,
98 ModuleManager::ModuleManager(const FileSystemOptions &FSO) : FileMgr(FSO) { }
100 ModuleManager::~ModuleManager() {
105 void ModuleManager::visit(bool (*Visitor)(ModuleFile &M, void *UserData),
198 void ModuleManager::visitDepthFirst(bool (*Visitor)(ModuleFile &M, bool Preorder,
214 struct GraphTraits<ModuleManager> {
217 typedef ModuleManager::ModuleConstIterator nodes_iterator;
227 static nodes_iterator nodes_begin(const ModuleManager &Manager) {
231 static nodes_iterator nodes_end(const ModuleManager &Manager) {
237 struct DOTGraphTraits<ModuleManager> : public DefaultDOTGraphTraits {
245 std::string getNodeLabel(ModuleFile *M, const ModuleManager&) {
251 void ModuleManager::viewGraph() {