Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclContextInternals.h167 erase_if([](NamedDecl *ND) { return ND->isFromASTFile(); }); in removeExternalDecls()
177 if (ND->isFromASTFile()) in replaceExternalDecls()
H A DRedeclarable.h319 if (!D->isFromASTFile()) in getFirstDecl()
328 if (!D->isFromASTFile()) in getFirstDecl()
H A DDeclBase.h376 (!D->isFromASTFile() || D->hasLocalOwningModuleStorage())) in getModuleOwnershipKindForChildOf()
790 bool isFromASTFile() const { return FromASTFile; } in isFromASTFile() function
810 if (!isFromASTFile() || !hasOwningModule()) in getImportedOwningModule()
819 if (isFromASTFile() || !hasOwningModule()) in getLocalOwningModule()
827 assert(!isFromASTFile() && hasOwningModule() && in setLocalOwningModule()
840 return isFromASTFile() ? getImportedOwningModule() : getLocalOwningModule(); in getOwningModule()
880 MOK != ModuleOwnershipKind::Unowned && !isFromASTFile() && in setModuleOwnershipKind()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerWriter.cpp198 if (!I->isFromASTFile()) { in HandleTopLevelDecl()
213 if (D->isFromASTFile()) in HandleTagDeclDefinition()
H A DCGDebugInfo.cpp2870 if (!RD || !RD->isFromASTFile()) in isDefinedInClangModule()
2892 if (!CXXDecl->field_begin()->isFromASTFile()) in isDefinedInClangModule()
3180 if (DebugTypeExtRefs && ID->isFromASTFile() && ID->getDefinition() && in CreateType()
3713 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition(); in CreateEnumType()
3952 if (DebugTypeExtRefs && D->isFromASTFile()) { in getParentModuleOrNull()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3635 return (Node->getMethod() && !Node->getMethod()->isFromASTFile()); in ShouldWriteMethodListNode()
3682 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors()
3690 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors()
3785 if (!LangOpts.Modules || !D->isFromASTFile()) in getDeclForLocalLookup()
3792 if (!Redecl->isFromASTFile()) { in getDeclForLocalLookup()
3809 if (!First->isFromASTFile()) in getDeclForLocalLookup()
4607 if (LocalD->isFromASTFile()) in isLookupResultNotInteresting()
4830 Chain->getKeyDeclaration(cast<Decl>(DC))->isFromASTFile()) { in WriteDeclContextVisibleBlock()
4834 if (!Prev->isFromASTFile()) in WriteDeclContextVisibleBlock()
4868 if (ND->isFromASTFile()) in WriteDeclContextVisibleBlock()
[all …]
H A DASTWriterDecl.cpp205 if (R->isFromASTFile()) in CollectFirstDeclFromEachModule()
358 if (!Template->isFromASTFile()) in RegisterTemplateSpecialization()
557 if (!NS->isFromASTFile()) in VisitDecl()
1564 if (Parent->isFromASTFile() || isa<TranslationUnitDecl>(Parent)) { in VisitNamespaceDecl()
2258 if (!Prev->isFromASTFile()) in VisitRedeclarable()
3047 assert(!D->isFromASTFile() && "should not be emitting imported decl"); in WriteDecl()
H A DASTReaderDecl.cpp795 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitEnumDecl()
858 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitRecordDecl()
3382 if (Found->isFromASTFile()) in getDeclForMerging()
3438 if (PrimaryDC && !cast<Decl>(PrimaryDC)->isFromASTFile()) { in getAnonymousDeclForMerging()
H A DASTWriterStmt.cpp2133 if (Found->isFromASTFile()) in VisitUnresolvedLookupExpr()
H A DASTReader.cpp8089 if (!D->isFromASTFile()) in getOwningModuleFile()
9461 Iter->second->isFromASTFile() && Lambda->getFirstDecl() == Lambda) { in AssignedLambdaNumbering()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp112 if (!isFromASTFile()) in getGlobalID()
120 if (!isFromASTFile()) in getOwningModuleID()
128 assert(isFromASTFile() && "Only works on a deserialized declaration"); in setOwningModuleID()
143 assert(isFromASTFile() && "Not from AST file?"); in getOwningModuleSlow()
380 if (!isFromASTFile()) { in setLexicalDeclContext()
1803 if (!D->isFromASTFile()) { in addHiddenDecl()
1880 (!ND->isFromASTFile() || in buildLookupImpl()
H A DDecl.cpp1858 if (OldD->isFromASTFile() && isFromASTFile()) in declarationReplaces()
H A DTextNodeDumper.cpp284 if (D->isFromASTFile()) in Visit()
H A DASTContext.cpp1781 assert(!Import->isFromASTFile() && "Non-local import declaration"); in addedLocalImportDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h1483 if (D->isFromASTFile()) in getKeyDeclaration()
1499 if (D->isFromASTFile()) in forEachImportedKeyDecl()
H A DASTWriter.h772 if (D->isFromASTFile()) in IsLocalDecl()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp2455 if (D->isFromASTFile()) in addFileLevelDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp5578 if (PatternDecl->isFromASTFile()) in InstantiateFunctionDefinition()