Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclBase.h359 (!D->isFromASTFile() || D->hasLocalOwningModuleStorage())) in getModuleOwnershipKindForChildOf()
624 assert(isFromASTFile() && "Only works on a deserialized declaration"); in setOwningModuleID()
695 bool isFromASTFile() const { return FromASTFile; } in isFromASTFile() function
700 if (isFromASTFile()) in getGlobalID()
708 if (isFromASTFile()) in getOwningModuleID()
723 if (!isFromASTFile() || !hasOwningModule()) in getImportedOwningModule()
732 if (isFromASTFile() || !hasOwningModule()) in getLocalOwningModule()
740 assert(!isFromASTFile() && hasOwningModule() && in setLocalOwningModule()
753 return isFromASTFile() ? getImportedOwningModule() : getLocalOwningModule(); in getOwningModule()
786 MOK != ModuleOwnershipKind::Unowned && !isFromASTFile() && in setModuleOwnershipKind()
H A DDeclContextInternals.h131 if (Singleton->isFromASTFile()) in removeExternalDecls()
136 [](Decl *D) { return D->isFromASTFile(); }), in removeExternalDecls()
H A DRedeclarable.h321 if (!D->isFromASTFile()) in getFirstDecl()
330 if (!D->isFromASTFile()) in getFirstDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DIdentifierResolver.cpp276 if (Existing->isFromASTFile() && New->isFromASTFile()) in compareDeclarations()
H A DSemaTemplateInstantiateDecl.cpp3956 if (PatternDecl->isFromASTFile()) in InstantiateFunctionDefinition()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriter.cpp5524 if (D->isFromASTFile()) in GetDeclRef()
5550 if (D->isFromASTFile()) in getDeclID()
6212 if (D->isFromASTFile()) in isImportedDeclContext()
6313 if (!D->isFromASTFile()) in CompletedImplicitDefinition()
6323 if (!D->isFromASTFile()) in VariableDefinitionInstantiated()
6332 if (!D->isFromASTFile()) in FunctionDefinitionInstantiated()
6341 if (!D->isFromASTFile()) in InstantiationRequested()
6357 if (!D->isFromASTFile()) in DefaultArgumentInstantiated()
6366 if (!D->isFromASTFile()) in DefaultMemberInitializerInstantiated()
6402 if (!D->isFromASTFile()) in DeclarationMarkedOpenMPThreadPrivate()
[all …]
H A DASTWriterDecl.cpp175 if (R->isFromASTFile()) in AddFirstDeclFromEachModule()
249 if (!Template->isFromASTFile()) in RegisterTemplateSpecialization()
319 if (!NS->isFromASTFile()) in VisitDecl()
1181 if (Parent->isFromASTFile() || isa<TranslationUnitDecl>(Parent)) { in VisitNamespaceDecl()
1710 if (!Prev->isFromASTFile()) in VisitRedeclarable()
2277 assert(!D->isFromASTFile() && "should not be emitting imported decl"); in WriteDecl()
H A DASTReaderDecl.cpp760 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitEnumDecl()
3218 if (Found->isFromASTFile()) in getDeclForMerging()
3269 if (PrimaryDC && !cast<Decl>(PrimaryDC)->isFromASTFile()) { in getAnonymousDeclForMerging()
H A DASTReader.cpp7235 if (!D->isFromASTFile()) in getOwningModuleFile()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp188 if (!I->isFromASTFile()) { in HandleTopLevelDecl()
203 if (D->isFromASTFile()) in HandleTagDeclDefinition()
H A DCGDebugInfo.cpp1981 if (!RD || !RD->isFromASTFile()) in isDefinedInClangModule()
2003 if (!CXXDecl->field_begin()->isFromASTFile()) in isDefinedInClangModule()
2225 if (DebugTypeExtRefs && ID->isFromASTFile() && ID->getDefinition() && in CreateType()
2643 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition(); in CreateEnumType()
2840 if (DebugTypeExtRefs && D->isFromASTFile()) { in getParentModuleOrNull()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclBase.cpp115 assert(isFromASTFile() && "Not from AST file?"); in getOwningModuleSlow()
311 if (!isFromASTFile()) { in setLexicalDeclContext()
1501 if (!D->isFromASTFile()) { in addHiddenDecl()
1578 (!ND->isFromASTFile() || in buildLookupImpl()
H A DTextNodeDumper.cpp235 if (D->isFromASTFile()) in Visit()
H A DDecl.cpp1649 if (OldD->isFromASTFile() && isFromASTFile()) in declarationReplaces()
H A DASTContext.cpp1524 assert(!Import->isFromASTFile() && "Non-local import declaration"); in addedLocalImportDecl()
9800 if (D->isFromASTFile() && !LangOpts.BuildingPCHWithObjectFile) { in DeclMustBeEmitted()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Serialization/
H A DASTWriter.h619 if (D->isFromASTFile()) in IsLocalDecl()
H A DASTReader.h1234 if (D->isFromASTFile()) in getKeyDeclaration()
1250 if (D->isFromASTFile()) in forEachImportedKeyDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DASTUnit.cpp2391 if (D->isFromASTFile()) in addFileLevelDecl()