Lines Matching defs:GlobalModuleIndex
1 //===--- GlobalModuleIndex.cpp - Global Module Index ------------*- C++ -*-===//
10 // This file implements the GlobalModuleIndex class.
18 #include "clang/Serialization/GlobalModuleIndex.h"
121 GlobalModuleIndex::GlobalModuleIndex(llvm::MemoryBuffer *Buffer,
222 GlobalModuleIndex::~GlobalModuleIndex() { }
224 std::pair<GlobalModuleIndex *, GlobalModuleIndex::ErrorCode>
225 GlobalModuleIndex::readIndex(StringRef Path) {
234 return std::make_pair((GlobalModuleIndex *)0, EC_NotFound);
248 return std::make_pair((GlobalModuleIndex *)0, EC_IOError);
251 return std::make_pair(new GlobalModuleIndex(Buffer.take(), Cursor), EC_None);
255 GlobalModuleIndex::getKnownModules(SmallVectorImpl<ModuleFile *> &ModuleFiles) {
263 void GlobalModuleIndex::getModuleDependencies(
281 bool GlobalModuleIndex::lookupIdentifier(StringRef Name, HitSet &Hits) {
307 bool GlobalModuleIndex::loadedModuleFile(ModuleFile *File) {
334 void GlobalModuleIndex::printStats() {
732 GlobalModuleIndex::ErrorCode
733 GlobalModuleIndex::writeIndex(FileManager &FileMgr, StringRef Path) {
849 IdentifierIterator *GlobalModuleIndex::createIdentifierIterator() const {