Searched refs:isFromASTFile (Results 1 – 17 of 17) sorted by relevance
167 erase_if([](NamedDecl *ND) { return ND->isFromASTFile(); }); in removeExternalDecls()177 if (ND->isFromASTFile()) in replaceExternalDecls()
322 if (!D->isFromASTFile()) in getFirstDecl()331 if (!D->isFromASTFile()) in getFirstDecl()
379 (!D->isFromASTFile() || D->hasLocalOwningModuleStorage())) in getModuleOwnershipKindForChildOf()786 bool isFromASTFile() const { return FromASTFile; } in isFromASTFile() function806 if (!isFromASTFile() || !hasOwningModule()) in getImportedOwningModule()815 if (isFromASTFile() || !hasOwningModule()) in getLocalOwningModule()823 assert(!isFromASTFile() && hasOwningModule() && in setLocalOwningModule()836 return isFromASTFile() ? getImportedOwningModule() : getLocalOwningModule(); in getOwningModule()872 MOK != ModuleOwnershipKind::Unowned && !isFromASTFile() && in setModuleOwnershipKind()
3548 return (Node->getMethod() && !Node->getMethod()->isFromASTFile()); in ShouldWriteMethodListNode()3595 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors()3603 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors()3698 if (!LangOpts.Modules || !D->isFromASTFile()) in getDeclForLocalLookup()3705 if (!Redecl->isFromASTFile()) { in getDeclForLocalLookup()3722 if (!First->isFromASTFile()) in getDeclForLocalLookup()4136 if (LocalD->isFromASTFile()) in isLookupResultNotInteresting()4351 Chain->getKeyDeclaration(cast<Decl>(DC))->isFromASTFile()) { in WriteDeclContextVisibleBlock()4355 if (!Prev->isFromASTFile()) in WriteDeclContextVisibleBlock()4389 if (ND->isFromASTFile()) in WriteDeclContextVisibleBlock()[all …]
188 if (R->isFromASTFile()) in AddFirstDeclFromEachModule()264 if (!Template->isFromASTFile()) in RegisterTemplateSpecialization()404 if (!NS->isFromASTFile()) in VisitDecl()1390 if (Parent->isFromASTFile() || isa<TranslationUnitDecl>(Parent)) { in VisitNamespaceDecl()2062 if (!Prev->isFromASTFile()) in VisitRedeclarable()2806 assert(!D->isFromASTFile() && "should not be emitting imported decl"); in WriteDecl()
812 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitEnumDecl()875 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitRecordDecl()3334 if (Found->isFromASTFile()) in getDeclForMerging()3390 if (PrimaryDC && !cast<Decl>(PrimaryDC)->isFromASTFile()) { in getAnonymousDeclForMerging()
2108 if (Found->isFromASTFile()) in VisitUnresolvedLookupExpr()
7726 if (!D->isFromASTFile()) in getOwningModuleFile()
114 if (!isFromASTFile()) in getGlobalID()122 if (!isFromASTFile()) in getOwningModuleID()130 assert(isFromASTFile() && "Only works on a deserialized declaration"); in setOwningModuleID()137 assert(isFromASTFile() && "Not from AST file?"); in getOwningModuleSlow()374 if (!isFromASTFile()) { in setLexicalDeclContext()1756 if (!D->isFromASTFile()) { in addHiddenDecl()1833 (!ND->isFromASTFile() || in buildLookupImpl()
1841 if (OldD->isFromASTFile() && isFromASTFile()) in declarationReplaces()
283 if (D->isFromASTFile()) in Visit()
1627 assert(!Import->isFromASTFile() && "Non-local import declaration"); in addedLocalImportDecl()
1318 if (D->isFromASTFile()) in getKeyDeclaration()1334 if (D->isFromASTFile()) in forEachImportedKeyDecl()
732 if (D->isFromASTFile()) in IsLocalDecl()
2646 if (!RD || !RD->isFromASTFile()) in isDefinedInClangModule()2668 if (!CXXDecl->field_begin()->isFromASTFile()) in isDefinedInClangModule()2953 if (DebugTypeExtRefs && ID->isFromASTFile() && ID->getDefinition() && in CreateType()3477 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition(); in CreateEnumType()3706 if (DebugTypeExtRefs && D->isFromASTFile()) { in getParentModuleOrNull()
2441 if (D->isFromASTFile()) in addFileLevelDecl()
4995 if (PatternDecl->isFromASTFile()) in InstantiateFunctionDefinition()