Lines Matching refs:ModuleEntry
87 ModuleFile *&ModuleEntry = Modules[Entry]; in addModule() local
89 if (!ModuleEntry) { in addModule()
98 ModuleEntry = New; in addModule()
145 ModuleEntry->Signature = ReadSignature(ModuleEntry->StreamFile); in addModule()
147 assert(ModuleEntry->Signature == ReadSignature(ModuleEntry->StreamFile)); in addModule()
149 if (ModuleEntry->Signature != ExpectedSignature) { in addModule()
150 ErrorStr = ModuleEntry->Signature ? "signature mismatch" in addModule()
159 delete ModuleEntry; in addModule()
166 ModuleEntry->ImportedBy.insert(ImportedBy); in addModule()
167 ImportedBy->Imports.insert(ModuleEntry); in addModule()
169 if (!ModuleEntry->DirectlyImported) in addModule()
170 ModuleEntry->ImportLoc = ImportLoc; in addModule()
172 ModuleEntry->DirectlyImported = true; in addModule()
175 Module = ModuleEntry; in addModule()