Searched refs:isFromASTFile (Results 1 – 18 of 18) sorted by relevance
366 (!D->isFromASTFile() || D->hasLocalOwningModuleStorage())) in getModuleOwnershipKindForChildOf()680 assert(isFromASTFile() && "Only works on a deserialized declaration"); in setOwningModuleID()751 bool isFromASTFile() const { return FromASTFile; } in isFromASTFile() function756 if (isFromASTFile()) in getGlobalID()764 if (isFromASTFile()) in getOwningModuleID()779 if (!isFromASTFile() || !hasOwningModule()) in getImportedOwningModule()788 if (isFromASTFile() || !hasOwningModule()) in getLocalOwningModule()796 assert(!isFromASTFile() && hasOwningModule() && in setLocalOwningModule()809 return isFromASTFile() ? getImportedOwningModule() : getLocalOwningModule(); in getOwningModule()848 MOK != ModuleOwnershipKind::Unowned && !isFromASTFile() && in setModuleOwnershipKind()
155 erase_if([](NamedDecl *ND) { return ND->isFromASTFile(); }); in removeExternalDecls()165 if (ND->isFromASTFile()) in replaceExternalDecls()
322 if (!D->isFromASTFile()) in getFirstDecl()331 if (!D->isFromASTFile()) in getFirstDecl()
281 if (Existing->isFromASTFile() && New->isFromASTFile()) in compareDeclarations()
4911 if (PatternDecl->isFromASTFile()) in InstantiateFunctionDefinition()
3302 return (Node->getMethod() && !Node->getMethod()->isFromASTFile()); in ShouldWriteMethodListNode()3348 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors()3356 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors()3451 if (!LangOpts.Modules || !D->isFromASTFile()) in getDeclForLocalLookup()3458 if (!Redecl->isFromASTFile()) { in getDeclForLocalLookup()3475 if (!First->isFromASTFile()) in getDeclForLocalLookup()3861 if (!getDeclForLocalLookup(getLangOpts(), D)->isFromASTFile()) in isLookupResultEntirelyExternal()4055 Chain->getKeyDeclaration(cast<Decl>(DC))->isFromASTFile()) { in WriteDeclContextVisibleBlock()4059 if (!Prev->isFromASTFile()) in WriteDeclContextVisibleBlock()4093 if (!ND->isFromASTFile()) in WriteDeclContextVisibleBlock()[all …]
187 if (R->isFromASTFile()) in AddFirstDeclFromEachModule()261 if (!Template->isFromASTFile()) in RegisterTemplateSpecialization()331 if (!NS->isFromASTFile()) in VisitDecl()1284 if (Parent->isFromASTFile() || isa<TranslationUnitDecl>(Parent)) { in VisitNamespaceDecl()1867 if (!Prev->isFromASTFile()) in VisitRedeclarable()2455 assert(!D->isFromASTFile() && "should not be emitting imported decl"); in WriteDecl()
787 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitEnumDecl()843 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitRecordDecl()3194 if (Found->isFromASTFile()) in getDeclForMerging()3250 if (PrimaryDC && !cast<Decl>(PrimaryDC)->isFromASTFile()) { in getAnonymousDeclForMerging()
7438 if (!D->isFromASTFile()) in getOwningModuleFile()
194 if (!I->isFromASTFile()) { in HandleTopLevelDecl()209 if (D->isFromASTFile()) in HandleTagDeclDefinition()
2408 if (!RD || !RD->isFromASTFile()) in isDefinedInClangModule()2430 if (!CXXDecl->field_begin()->isFromASTFile()) in isDefinedInClangModule()2682 if (DebugTypeExtRefs && ID->isFromASTFile() && ID->getDefinition() && in CreateType()3206 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition(); in CreateEnumType()3410 if (DebugTypeExtRefs && D->isFromASTFile()) { in getParentModuleOrNull()
115 assert(isFromASTFile() && "Not from AST file?"); in getOwningModuleSlow()352 if (!isFromASTFile()) { in setLexicalDeclContext()1601 if (!D->isFromASTFile()) { in addHiddenDecl()1678 (!ND->isFromASTFile() || in buildLookupImpl()
1809 if (OldD->isFromASTFile() && isFromASTFile()) in declarationReplaces()
260 if (D->isFromASTFile()) in Visit()
1659 assert(!Import->isFromASTFile() && "Non-local import declaration"); in addedLocalImportDecl()
661 if (D->isFromASTFile()) in IsLocalDecl()
1297 if (D->isFromASTFile()) in getKeyDeclaration()1313 if (D->isFromASTFile()) in forEachImportedKeyDecl()
2422 if (D->isFromASTFile()) in addFileLevelDecl()