Lines Matching refs:Parent
27 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent,
29 : Name(Name), DefinitionLoc(DefinitionLoc), Parent(Parent),
36 if (Parent) {
37 if (!Parent->isAvailable())
39 if (Parent->IsSystem)
42 Parent->SubModuleIndex[Name] = Parent->SubModules.size();
43 Parent->SubModules.push_back(this);
76 for (const Module *Current = this; Current; Current = Current->Parent) {
95 This = This->Parent;
103 while (Result->Parent)
104 Result = Result->Parent;
113 for (const Module *M = this; M; M = M->Parent)