Lines Matching refs:ModuleEntry
88 ModuleFile *&ModuleEntry = Modules[Entry]; in addModule() local
90 if (!ModuleEntry) { in addModule()
103 ModuleEntry = New; in addModule()
149 ModuleEntry->Signature = ReadSignature(ModuleEntry->StreamFile); in addModule()
151 assert(ModuleEntry->Signature == ReadSignature(ModuleEntry->StreamFile)); in addModule()
153 if (ModuleEntry->Signature != ExpectedSignature) { in addModule()
154 ErrorStr = ModuleEntry->Signature ? "signature mismatch" in addModule()
162 assert(Chain.back() == ModuleEntry); in addModule()
164 if (!ModuleEntry->isModule()) in addModule()
166 if (Roots.back() == ModuleEntry) in addModule()
170 delete ModuleEntry; in addModule()
177 ModuleEntry->ImportedBy.insert(ImportedBy); in addModule()
178 ImportedBy->Imports.insert(ModuleEntry); in addModule()
180 if (!ModuleEntry->DirectlyImported) in addModule()
181 ModuleEntry->ImportLoc = ImportLoc; in addModule()
183 ModuleEntry->DirectlyImported = true; in addModule()
186 Module = ModuleEntry; in addModule()