Home
last modified time | relevance | path

Searched refs:isFromASTFile (Results 1 – 17 of 17) 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.h322 if (!D->isFromASTFile()) in getFirstDecl()
331 if (!D->isFromASTFile()) in getFirstDecl()
H A DDeclBase.h379 (!D->isFromASTFile() || D->hasLocalOwningModuleStorage())) in getModuleOwnershipKindForChildOf()
786 bool isFromASTFile() const { return FromASTFile; } in isFromASTFile() function
806 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()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3548 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 …]
H A DASTWriterDecl.cpp188 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()
H A DASTReaderDecl.cpp812 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()
H A DASTWriterStmt.cpp2108 if (Found->isFromASTFile()) in VisitUnresolvedLookupExpr()
H A DASTReader.cpp7726 if (!D->isFromASTFile()) in getOwningModuleFile()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp114 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()
H A DDecl.cpp1841 if (OldD->isFromASTFile() && isFromASTFile()) in declarationReplaces()
H A DTextNodeDumper.cpp283 if (D->isFromASTFile()) in Visit()
H A DASTContext.cpp1627 assert(!Import->isFromASTFile() && "Non-local import declaration"); in addedLocalImportDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h1318 if (D->isFromASTFile()) in getKeyDeclaration()
1334 if (D->isFromASTFile()) in forEachImportedKeyDecl()
H A DASTWriter.h732 if (D->isFromASTFile()) in IsLocalDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2646 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()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp2441 if (D->isFromASTFile()) in addFileLevelDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp4995 if (PatternDecl->isFromASTFile()) in InstantiateFunctionDefinition()