| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclBase.cpp | 107 Parent ? cast<Decl>(Parent)->getOwningModule() : nullptr; in operator new() 377 setLocalOwningModule(cast<Decl>(DC)->getOwningModule()); in setLexicalDeclContext() 382 getOwningModule()) && in setLexicalDeclContext() 1123 auto *M = getOwningModule(); in isInAnotherModuleUnit() 1144 auto *M = getOwningModule(); in isInCurrentModuleUnit() 1161 return getOwningModule() && getOwningModule()->isExplicitGlobalModule(); in isFromExplicitGlobalModule() 1165 return getOwningModule() && getOwningModule()->isGlobalModule(); in isFromGlobalModule() 1169 return getOwningModule() && getOwningModule()->isNamedModule(); in isInNamedModule()
|
| H A D | Decl.cpp | 587 if (auto *M = D->getOwningModule()) in isDeclaredInModuleInterfaceOrPartition() 1630 Module *M = getOwningModule(); in getOwningModuleForLinkage()
|
| H A D | TextNodeDumper.cpp | 285 if (Module *M = D->getOwningModule()) in Visit()
|
| /src/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPMacroExpansion.cpp | 210 if (CurSubmoduleState->VisibleModules.isVisible(MM->getOwningModule())) { in updateModuleMacroInfo() 251 IsSystemMacro &= Active->getOwningModule()->IsSystem || in updateModuleMacroInfo() 274 llvm::errs() << " " << O->getOwningModule()->getFullModuleName(); in dumpMacroInfo() 295 << MM->getOwningModule()->getFullModuleName(); in dumpMacroInfo() 302 MM->getOwningModule())) in dumpMacroInfo() 310 llvm::errs() << " " << O->getOwningModule()->getFullModuleName(); in dumpMacroInfo()
|
| /src/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexingAction.cpp | 248 auto *OwningMod = MM->getOwningModule(); in indexPreprocessorModuleMacros()
|
| /src/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | MacroInfo.h | 559 Module *getOwningModule() const { return OwningModule; } in getOwningModule() function
|
| /src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 1577 return S.getOwningModule(Entity); in getDefiningModule() 1669 Modules->push_back(S.getOwningModule(NonConstD)); in hasAcceptableDefaultArgument() 1722 Modules->push_back(R->getOwningModule()); in hasAcceptableDeclarationImpl() 1813 Module *DeclModule = SemaRef.getOwningModule(D); in isAcceptableSlow() 1938 Module *DeclModule = SemaRef.getOwningModule(D); in isReachableSlow() 3843 Module *FM = D->getOwningModule(); in ArgumentDependentLookup() 3857 if (E->getOwningModule() != FM) in ArgumentDependentLookup() 5554 Module *Owner = getOwningModule(Def); in diagnoseMissingImport()
|
| H A D | SemaDecl.cpp | 1606 New->setLocalOwningModule(Old->getOwningModule()); in CheckRedeclarationModuleOwnership() 1611 Module *NewM = New->getOwningModule(); in CheckRedeclarationModuleOwnership() 1612 Module *OldM = Old->getOwningModule(); in CheckRedeclarationModuleOwnership() 1684 if (!Old->isInNamedModule() && New->getOwningModule() && in CheckRedeclarationExported() 1685 New->getOwningModule()->isImplicitGlobalModule()) in CheckRedeclarationExported() 1720 Module *NewM = New->getOwningModule(); in IsRedefinitionInModule() 1721 Module *OldM = Old->getOwningModule(); in IsRedefinitionInModule() 4737 noteFromModuleOrInclude(Old->getOwningModule(), OldIncLoc); in notePreviousDefinition() 9736 !NewFD->getOwningModule() || in ActOnFunctionDeclarator() 9738 NewFD->getOwningModule()->isHeaderLikeModule(); in ActOnFunctionDeclarator() [all …]
|
| H A D | Sema.cpp | 1330 DefInPMF = FDD->getOwningModule()->isPrivateModule(); in ActOnEndOfTranslationUnit()
|
| H A D | SemaTemplate.cpp | 2339 if (!OldTypeParm->getOwningModule()) in CheckTemplateParameterList() 2391 if (!OldNonTypeParm->getOwningModule()) in CheckTemplateParameterList() 2442 if (!OldTemplateParm->getOwningModule()) in CheckTemplateParameterList()
|
| H A D | SemaOverload.cpp | 10608 getOwningModule(VA) == getOwningModule(VB) || in isEquivalentInternalLinkageDeclaration() 10646 Module *M = getOwningModule(D); in diagnoseEquivalentInternalLinkageDeclarations() 10651 Module *M = getOwningModule(E); in diagnoseEquivalentInternalLinkageDeclarations()
|
| H A D | SemaDeclCXX.cpp | 12046 Module *M = ND->getOwningModule(); in DiagnoseInvisibleNamespace()
|
| /src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangModulesDeclVendor.cpp | 507 clang::Module *module = module_macro->getOwningModule(); in ForEachMacro()
|
| /src/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 2620 ModuleMacroRecord.push_back(getSubmoduleID(Macro->getOwningModule())); in WritePreprocessor() 2623 ModuleMacroRecord.push_back(getSubmoduleID(M->getOwningModule())); in WritePreprocessor() 5077 if (isWritingStdCXXNamedModules() && !D->getOwningModule() && in PrepareWritingSpecialDecls() 6242 if (isWritingStdCXXNamedModules() && D->getOwningModule()) in GetDeclRef() 6243 TouchedTopLevelModules.insert(D->getOwningModule()->getTopLevelModule()); in GetDeclRef() 6288 assert((Emitted || (!D->getOwningModule() && isWritingStdCXXNamedModules()) || in wasDeclEmitted()
|
| H A D | ASTReaderDecl.cpp | 3693 Module *M = Previous->getOwningModule(); in checkMultipleDefinitionInNamedModules() 3727 if (Reader.getContext().isInSameModule(M, D->getOwningModule())) in checkMultipleDefinitionInNamedModules()
|
| H A D | ASTWriterDecl.cpp | 391 Record.push_back(Writer.getSubmoduleID(D->getOwningModule())); in VisitDecl()
|
| /src/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclBase.h | 835 Module *getOwningModule() const { in getOwningModule() function
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 3547 if (CXX20ModuleInits && VD->getOwningModule() && in MayBeEmittedEagerly() 3548 !VD->getOwningModule()->isModuleMapModule()) { in MayBeEmittedEagerly() 4033 if (const Module *M = F->getOwningModule(); in shouldEmitFunction()
|
| H A D | CGDebugInfo.cpp | 3724 if (Module *M = D->getOwningModule()) { in getParentModuleOrNull()
|
| /src/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 3115 Module *getOwningModule(const Decl *Entity) { in getOwningModule() function 3116 return Entity->getOwningModule(); in getOwningModule()
|