Searched refs:TopImport (Results 1 – 2 of 2) sorted by relevance
440 ModuleFile *TopImport = *ModuleMgr.rbegin(); in ReadDiagnosticOptions() local441 while (!TopImport->ImportedBy.empty()) in ReadDiagnosticOptions()442 TopImport = TopImport->ImportedBy[0]; in ReadDiagnosticOptions()443 if (TopImport->Kind != MK_ImplicitModule) in ReadDiagnosticOptions()446 StringRef ModuleName = TopImport->ModuleName; in ReadDiagnosticOptions()
548 ModuleFile *TopImport = &*ModuleMgr.rbegin(); in getTopImportImplicitModule() local549 while (!TopImport->ImportedBy.empty()) in getTopImportImplicitModule()550 TopImport = TopImport->ImportedBy[0]; in getTopImportImplicitModule()551 if (TopImport->Kind != MK_ImplicitModule) in getTopImportImplicitModule()554 StringRef ModuleName = TopImport->ModuleName; in getTopImportImplicitModule()