Lines Matching refs:Parent
27 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent,
29 : Name(Name), DefinitionLoc(DefinitionLoc), Parent(Parent), Directory(),
37 if (Parent) {
38 if (!Parent->isAvailable())
40 if (Parent->IsSystem)
42 if (Parent->IsExternC)
44 IsMissingRequirement = Parent->IsMissingRequirement;
46 Parent->SubModuleIndex[Name] = Parent->SubModules.size();
47 Parent->SubModules.push_back(this);
86 for (const Module *Current = this; Current; Current = Current->Parent) {
109 This = This->Parent;
117 while (Result->Parent)
118 Result = Result->Parent;
127 for (const Module *M = this; M; M = M->Parent)
144 for (const Module *M = this; M; M = M->Parent) {