|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/Basic/Module.h 411 bool isSubModule() const { return Parent != nullptr; }
421 for (const Module *Mod = this; Mod; Mod = Mod->Parent)
431 return IsFramework && Parent && Parent->isPartOfFramework();
431 return IsFramework && Parent && Parent->isPartOfFramework();
437 assert(!Parent);
438 Parent = M;
439 Parent->SubModuleIndex[Name] = Parent->SubModules.size();
439 Parent->SubModuleIndex[Name] = Parent->SubModules.size();
440 Parent->SubModules.push_back(this);
tools/clang/include/clang/Lex/ModuleMap.h 565 assert(!ExistingModule->Parent && "expected top-level module");
tools/clang/lib/AST/Decl.cpp 1534 return InternalLinkage ? M->Parent : nullptr;
1540 return M->Parent;
4833 while (Mod->Parent) {
4834 Mod = Mod->Parent;
tools/clang/lib/Basic/Module.cpp 142 for (const Module *Current = this; Current; Current = Current->Parent) {
169 This = This->Parent;
177 while (Result->Parent)
178 Result = Result->Parent;
217 for (const Module *M = this; M; M = M->Parent)
230 for (const Module *M = this; M; M = M->Parent) {
270 if (!Requested->Parent && Requested->Name == "_Builtin_stddef_max_align_t")
tools/clang/lib/CodeGen/CGDebugInfo.cpp 2406 bool IsRootModule = M ? !M->Parent : true;
2435 ExternalASTSource::ASTSourceDescriptor(*M->Parent),
tools/clang/lib/CodeGen/CodeGenModule.cpp 1960 if (Mod->Parent && Visited.insert(Mod->Parent).second) {
1960 if (Mod->Parent && Visited.insert(Mod->Parent).second) {
1961 addLinkOptionsPostorder(CGM, Mod->Parent, Metadata, Visited);
tools/clang/lib/Frontend/FrontendAction.cpp 354 if (Module->Parent)
tools/clang/lib/Index/IndexingContext.cpp 99 reportModuleReferences(Mod->Parent, IdLocs.drop_back(), ImportD,
138 if (!ImportD->isImplicit() && Mod->Parent && !IdLocs.empty()) {
139 reportModuleReferences(Mod->Parent, IdLocs.drop_back(), ImportD,
tools/clang/lib/Index/USRGeneration.cpp 1129 if (!Mod->Parent)
1131 if (generateFullUSRForModule(Mod->Parent, OS))
tools/clang/lib/Lex/ModuleMap.cpp 161 for (; Mod; Mod = Mod->Parent) {
601 while (!UmbrellaModule->getUmbrellaDir() && UmbrellaModule->Parent)
602 UmbrellaModule = UmbrellaModule->Parent;
723 while (!UmbrellaModule->getUmbrellaDir() && UmbrellaModule->Parent)
724 UmbrellaModule = UmbrellaModule->Parent;
780 for(; Context; Context = Context->Parent) {
1749 if (ActiveModule->Parent && ActiveModule->Name == "Private" && !M->Parent &&
1749 if (ActiveModule->Parent && ActiveModule->Name == "Private" && !M->Parent &&
1750 M->Name == ActiveModule->Parent->Name) {
1761 if (FrameworkLoc.isValid() || ActiveModule->Parent->IsFramework)
1772 if (!ActiveModule->Parent && !M->Parent && M->Name != ActiveModule->Name &&
1772 if (!ActiveModule->Parent && !M->Parent && M->Name != ActiveModule->Name &&
1942 if (!Existing->Parent && Map.mayShadowNewModule(Existing)) {
1976 (!ActiveModule->Parent && ModuleName == "Darwin"))
2092 ActiveModule->Parent) {
2512 if (ActiveModule->Parent) {
2546 if (ActiveModule->Parent)
2593 if (ActiveModule->Parent) {
2602 if (Attrs.IsExhaustive && !ActiveModule->Parent) {
2612 if (!ActiveModule->Parent) {
2631 if (!ActiveModule->Parent) {
tools/clang/lib/Lex/PPDirectives.cpp 1988 for (Module *Mod = SuggestedModule.getModule(); Mod; Mod = Mod->Parent)
tools/clang/lib/Sema/SemaDecl.cpp 1541 NewM = NewM->Parent;
1543 OldM = OldM->Parent;
tools/clang/lib/Sema/SemaLookup.cpp 1566 (M->Kind == Module::GlobalModuleFragment && !M->Parent);
tools/clang/lib/Sema/SemaModule.cpp 373 ModCheck = ModCheck->Parent;
381 for (; ModCheck; ModCheck = ModCheck->Parent) {
tools/clang/lib/Serialization/ASTWriter.cpp 2961 if (Mod->Parent) {
2962 assert(SubmoduleIDs[Mod->Parent] && "Submodule parent not written?");
2963 ParentID = SubmoduleIDs[Mod->Parent];
tools/clang/tools/libclang/CIndex.cpp 8301 return Mod->Parent;