Searched refs:isFromASTFile (Results 1 – 18 of 18) sorted by relevance
364 (!D->isFromASTFile() || D->hasLocalOwningModuleStorage())) in getModuleOwnershipKindForChildOf()645 assert(isFromASTFile() && "Only works on a deserialized declaration"); in setOwningModuleID()716 bool isFromASTFile() const { return FromASTFile; } in isFromASTFile() function721 if (isFromASTFile()) in getGlobalID()729 if (isFromASTFile()) in getOwningModuleID()744 if (!isFromASTFile() || !hasOwningModule()) in getImportedOwningModule()753 if (isFromASTFile() || !hasOwningModule()) in getLocalOwningModule()761 assert(!isFromASTFile() && hasOwningModule() && in setLocalOwningModule()774 return isFromASTFile() ? getImportedOwningModule() : getLocalOwningModule(); in getOwningModule()808 MOK != ModuleOwnershipKind::Unowned && !isFromASTFile() && in setModuleOwnershipKind()
156 erase_if([](NamedDecl *ND) { return ND->isFromASTFile(); }); in removeExternalDecls()166 if (ND->isFromASTFile()) in replaceExternalDecls()
321 if (!D->isFromASTFile()) in getFirstDecl()330 if (!D->isFromASTFile()) in getFirstDecl()
275 if (Existing->isFromASTFile() && New->isFromASTFile()) in compareDeclarations()
4883 if (PatternDecl->isFromASTFile()) in InstantiateFunctionDefinition()
5222 if (D->isFromASTFile()) in GetDeclRef()5248 if (D->isFromASTFile()) in getDeclID()5712 if (D->isFromASTFile()) in isImportedDeclContext()5813 if (!D->isFromASTFile()) in CompletedImplicitDefinition()5823 if (!D->isFromASTFile()) in VariableDefinitionInstantiated()5832 if (!D->isFromASTFile()) in FunctionDefinitionInstantiated()5841 if (!D->isFromASTFile()) in InstantiationRequested()5857 if (!D->isFromASTFile()) in DefaultArgumentInstantiated()5866 if (!D->isFromASTFile()) in DefaultMemberInitializerInstantiated()5902 if (!D->isFromASTFile()) in DeclarationMarkedOpenMPThreadPrivate()[all …]
183 if (R->isFromASTFile()) in AddFirstDeclFromEachModule()257 if (!Template->isFromASTFile()) in RegisterTemplateSpecialization()327 if (!NS->isFromASTFile()) in VisitDecl()1254 if (Parent->isFromASTFile() || isa<TranslationUnitDecl>(Parent)) { in VisitNamespaceDecl()1829 if (!Prev->isFromASTFile()) in VisitRedeclarable()2415 assert(!D->isFromASTFile() && "should not be emitting imported decl"); in WriteDecl()
768 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitEnumDecl()3371 if (Found->isFromASTFile()) in getDeclForMerging()3422 if (PrimaryDC && !cast<Decl>(PrimaryDC)->isFromASTFile()) { in getAnonymousDeclForMerging()
7345 if (!D->isFromASTFile()) in getOwningModuleFile()
187 if (!I->isFromASTFile()) { in HandleTopLevelDecl()202 if (D->isFromASTFile()) in HandleTagDeclDefinition()
2271 if (!RD || !RD->isFromASTFile()) in isDefinedInClangModule()2293 if (!CXXDecl->field_begin()->isFromASTFile()) in isDefinedInClangModule()2545 if (DebugTypeExtRefs && ID->isFromASTFile() && ID->getDefinition() && in CreateType()3045 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition(); in CreateEnumType()3243 if (DebugTypeExtRefs && D->isFromASTFile()) { in getParentModuleOrNull()
115 assert(isFromASTFile() && "Not from AST file?"); in getOwningModuleSlow()343 if (!isFromASTFile()) { in setLexicalDeclContext()1544 if (!D->isFromASTFile()) { in addHiddenDecl()1621 (!ND->isFromASTFile() || in buildLookupImpl()
1739 if (OldD->isFromASTFile() && isFromASTFile()) in declarationReplaces()
260 if (D->isFromASTFile()) in Visit()
1679 assert(!Import->isFromASTFile() && "Non-local import declaration"); in addedLocalImportDecl()
635 if (D->isFromASTFile()) in IsLocalDecl()
1253 if (D->isFromASTFile()) in getKeyDeclaration()1269 if (D->isFromASTFile()) in forEachImportedKeyDecl()
2393 if (D->isFromASTFile()) in addFileLevelDecl()