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"
27 ModuleFile *ModuleManager::lookup(StringRef Name) {
33 llvm::MemoryBuffer *ModuleManager::lookupBuffer(StringRef Name) {
40 ModuleManager::addModule(StringRef FileName, ModuleKind Type,
116 void ModuleManager::removeModules(ModuleIterator first, ModuleIterator last) {
139 void ModuleManager::addInMemoryBuffer(StringRef FileName,
147 void ModuleManager::updateModulesInCommonWithGlobalIndex() {
168 ModuleManager::VisitState *ModuleManager::allocateVisitState() {
181 void ModuleManager::returnVisitState(VisitState *State) {
187 void ModuleManager::setGlobalIndex(GlobalModuleIndex *Index) {
192 ModuleManager::ModuleManager(FileManager &FileMgr)
195 ModuleManager::~ModuleManager() {
202 ModuleManager::visit(bool (*Visitor)(ModuleFile &M, void *UserData),
343 void ModuleManager::visitDepthFirst(bool (*Visitor)(ModuleFile &M, bool Preorder,
360 struct GraphTraits<ModuleManager> {
363 typedef ModuleManager::ModuleConstIterator nodes_iterator;
373 static nodes_iterator nodes_begin(const ModuleManager &Manager) {
377 static nodes_iterator nodes_end(const ModuleManager &Manager) {
383 struct DOTGraphTraits<ModuleManager> : public DefaultDOTGraphTraits {
391 std::string getNodeLabel(ModuleFile *M, const ModuleManager&) {
397 void ModuleManager::viewGraph() {