Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclBase.h366 (!D->isFromASTFile() || D->hasLocalOwningModuleStorage())) in getModuleOwnershipKindForChildOf()
680 assert(isFromASTFile() && "Only works on a deserialized declaration"); in setOwningModuleID()
751 bool isFromASTFile() const { return FromASTFile; } in isFromASTFile() function
756 if (isFromASTFile()) in getGlobalID()
764 if (isFromASTFile()) in getOwningModuleID()
779 if (!isFromASTFile() || !hasOwningModule()) in getImportedOwningModule()
788 if (isFromASTFile() || !hasOwningModule()) in getLocalOwningModule()
796 assert(!isFromASTFile() && hasOwningModule() && in setLocalOwningModule()
809 return isFromASTFile() ? getImportedOwningModule() : getLocalOwningModule(); in getOwningModule()
848 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()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DIdentifierResolver.cpp281 if (Existing->isFromASTFile() && New->isFromASTFile()) in compareDeclarations()
H A DSemaTemplateInstantiateDecl.cpp4911 if (PatternDecl->isFromASTFile()) in InstantiateFunctionDefinition()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTWriter.cpp3302 return (Node->getMethod() && !Node->getMethod()->isFromASTFile()); in ShouldWriteMethodListNode()
3348 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors()
3356 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors()
3451 if (!LangOpts.Modules || !D->isFromASTFile()) in getDeclForLocalLookup()
3458 if (!Redecl->isFromASTFile()) { in getDeclForLocalLookup()
3475 if (!First->isFromASTFile()) in getDeclForLocalLookup()
3861 if (!getDeclForLocalLookup(getLangOpts(), D)->isFromASTFile()) in isLookupResultEntirelyExternal()
4055 Chain->getKeyDeclaration(cast<Decl>(DC))->isFromASTFile()) { in WriteDeclContextVisibleBlock()
4059 if (!Prev->isFromASTFile()) in WriteDeclContextVisibleBlock()
4093 if (!ND->isFromASTFile()) in WriteDeclContextVisibleBlock()
[all …]
H A DASTWriterDecl.cpp187 if (R->isFromASTFile()) in AddFirstDeclFromEachModule()
261 if (!Template->isFromASTFile()) in RegisterTemplateSpecialization()
331 if (!NS->isFromASTFile()) in VisitDecl()
1284 if (Parent->isFromASTFile() || isa<TranslationUnitDecl>(Parent)) { in VisitNamespaceDecl()
1867 if (!Prev->isFromASTFile()) in VisitRedeclarable()
2455 assert(!D->isFromASTFile() && "should not be emitting imported decl"); in WriteDecl()
H A DASTReaderDecl.cpp787 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitEnumDecl()
843 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitRecordDecl()
3194 if (Found->isFromASTFile()) in getDeclForMerging()
3250 if (PrimaryDC && !cast<Decl>(PrimaryDC)->isFromASTFile()) { in getAnonymousDeclForMerging()
H A DASTReader.cpp7438 if (!D->isFromASTFile()) in getOwningModuleFile()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp194 if (!I->isFromASTFile()) { in HandleTopLevelDecl()
209 if (D->isFromASTFile()) in HandleTagDeclDefinition()
H A DCGDebugInfo.cpp2408 if (!RD || !RD->isFromASTFile()) in isDefinedInClangModule()
2430 if (!CXXDecl->field_begin()->isFromASTFile()) in isDefinedInClangModule()
2682 if (DebugTypeExtRefs && ID->isFromASTFile() && ID->getDefinition() && in CreateType()
3206 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition(); in CreateEnumType()
3410 if (DebugTypeExtRefs && D->isFromASTFile()) { in getParentModuleOrNull()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclBase.cpp115 assert(isFromASTFile() && "Not from AST file?"); in getOwningModuleSlow()
352 if (!isFromASTFile()) { in setLexicalDeclContext()
1601 if (!D->isFromASTFile()) { in addHiddenDecl()
1678 (!ND->isFromASTFile() || in buildLookupImpl()
H A DDecl.cpp1809 if (OldD->isFromASTFile() && isFromASTFile()) in declarationReplaces()
H A DTextNodeDumper.cpp260 if (D->isFromASTFile()) in Visit()
H A DASTContext.cpp1659 assert(!Import->isFromASTFile() && "Non-local import declaration"); in addedLocalImportDecl()
/openbsd-src/gnu/llvm/clang/include/clang/Serialization/
H A DASTWriter.h661 if (D->isFromASTFile()) in IsLocalDecl()
H A DASTReader.h1297 if (D->isFromASTFile()) in getKeyDeclaration()
1313 if (D->isFromASTFile()) in forEachImportedKeyDecl()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DASTUnit.cpp2422 if (D->isFromASTFile()) in addFileLevelDecl()