Home
last modified time | relevance | path

Searched refs:isFromASTFile (Results 1 – 18 of 18) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h378 (!D->isFromASTFile() || D->hasLocalOwningModuleStorage())) in getModuleOwnershipKindForChildOf()
715 assert(isFromASTFile() && "Only works on a deserialized declaration"); in setOwningModuleID()
786 bool isFromASTFile() const { return FromASTFile; } in isFromASTFile() function
791 if (isFromASTFile()) in getGlobalID()
799 if (isFromASTFile()) in getOwningModuleID()
814 if (!isFromASTFile() || !hasOwningModule()) in getImportedOwningModule()
823 if (isFromASTFile() || !hasOwningModule()) in getLocalOwningModule()
831 assert(!isFromASTFile() && hasOwningModule() && in setLocalOwningModule()
844 return isFromASTFile() ? getImportedOwningModule() : getLocalOwningModule(); in getOwningModule()
883 MOK != ModuleOwnershipKind::Unowned && !isFromASTFile() && in setModuleOwnershipKind()
H A DDeclContextInternals.h155 erase_if([](NamedDecl *ND) { return ND->isFromASTFile(); }); in removeExternalDecls()
165 if (ND->isFromASTFile()) in replaceExternalDecls()
H A DRedeclarable.h322 if (!D->isFromASTFile()) in getFirstDecl()
331 if (!D->isFromASTFile()) in getFirstDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DIdentifierResolver.cpp289 if (Existing->isFromASTFile() && New->isFromASTFile()) in compareDeclarations()
H A DSemaTemplateInstantiateDecl.cpp5004 if (PatternDecl->isFromASTFile()) in InstantiateFunctionDefinition()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp5702 if (D->isFromASTFile()) in GetDeclRef()
5728 if (D->isFromASTFile()) in getDeclID()
6218 if (D->isFromASTFile()) in isImportedDeclContext()
6318 if (!D->isFromASTFile()) in CompletedImplicitDefinition()
6328 if (!D->isFromASTFile()) in VariableDefinitionInstantiated()
6337 if (!D->isFromASTFile()) in FunctionDefinitionInstantiated()
6346 if (!D->isFromASTFile()) in InstantiationRequested()
6362 if (!D->isFromASTFile()) in DefaultArgumentInstantiated()
6371 if (!D->isFromASTFile()) in DefaultMemberInitializerInstantiated()
6407 if (!D->isFromASTFile()) in DeclarationMarkedOpenMPThreadPrivate()
[all …]
H A DASTWriterDecl.cpp185 if (R->isFromASTFile()) in AddFirstDeclFromEachModule()
259 if (!Template->isFromASTFile()) in RegisterTemplateSpecialization()
365 if (!NS->isFromASTFile()) in VisitDecl()
1352 if (Parent->isFromASTFile() || isa<TranslationUnitDecl>(Parent)) { in VisitNamespaceDecl()
1979 if (!Prev->isFromASTFile()) in VisitRedeclarable()
2722 assert(!D->isFromASTFile() && "should not be emitting imported decl"); in WriteDecl()
H A DASTReaderDecl.cpp823 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitEnumDecl()
889 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitRecordDecl()
3359 if (Found->isFromASTFile()) in getDeclForMerging()
3415 if (PrimaryDC && !cast<Decl>(PrimaryDC)->isFromASTFile()) { in getAnonymousDeclForMerging()
H A DASTReader.cpp7658 if (!D->isFromASTFile()) in getOwningModuleFile()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp197 if (!I->isFromASTFile()) { in HandleTopLevelDecl()
212 if (D->isFromASTFile()) in HandleTagDeclDefinition()
H A DCGDebugInfo.cpp2520 if (!RD || !RD->isFromASTFile()) in isDefinedInClangModule()
2542 if (!CXXDecl->field_begin()->isFromASTFile()) in isDefinedInClangModule()
2827 if (DebugTypeExtRefs && ID->isFromASTFile() && ID->getDefinition() && in CreateType()
3351 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition(); in CreateEnumType()
3556 if (DebugTypeExtRefs && D->isFromASTFile()) { in getParentModuleOrNull()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp115 assert(isFromASTFile() && "Not from AST file?"); in getOwningModuleSlow()
352 if (!isFromASTFile()) { in setLexicalDeclContext()
1692 if (!D->isFromASTFile()) { in addHiddenDecl()
1769 (!ND->isFromASTFile() || in buildLookupImpl()
H A DDecl.cpp1856 if (OldD->isFromASTFile() && isFromASTFile()) in declarationReplaces()
H A DTextNodeDumper.cpp261 if (D->isFromASTFile()) in Visit()
H A DASTContext.cpp1588 assert(!Import->isFromASTFile() && "Non-local import declaration"); in addedLocalImportDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h1321 if (D->isFromASTFile()) in getKeyDeclaration()
1337 if (D->isFromASTFile()) in forEachImportedKeyDecl()
H A DASTWriter.h684 if (D->isFromASTFile()) in IsLocalDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp2430 if (D->isFromASTFile()) in addFileLevelDecl()