Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h364 (!D->isFromASTFile() || D->hasLocalOwningModuleStorage())) in getModuleOwnershipKindForChildOf()
645 assert(isFromASTFile() && "Only works on a deserialized declaration"); in setOwningModuleID()
716 bool isFromASTFile() const { return FromASTFile; } in isFromASTFile() function
721 if (isFromASTFile()) in getGlobalID()
729 if (isFromASTFile()) in getOwningModuleID()
744 if (!isFromASTFile() || !hasOwningModule()) in getImportedOwningModule()
753 if (isFromASTFile() || !hasOwningModule()) in getLocalOwningModule()
761 assert(!isFromASTFile() && hasOwningModule() && in setLocalOwningModule()
774 return isFromASTFile() ? getImportedOwningModule() : getLocalOwningModule(); in getOwningModule()
808 MOK != ModuleOwnershipKind::Unowned && !isFromASTFile() && in setModuleOwnershipKind()
H A DDeclContextInternals.h156 erase_if([](NamedDecl *ND) { return ND->isFromASTFile(); }); in removeExternalDecls()
166 if (ND->isFromASTFile()) in replaceExternalDecls()
H A DRedeclarable.h321 if (!D->isFromASTFile()) in getFirstDecl()
330 if (!D->isFromASTFile()) in getFirstDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DIdentifierResolver.cpp275 if (Existing->isFromASTFile() && New->isFromASTFile()) in compareDeclarations()
H A DSemaTemplateInstantiateDecl.cpp4883 if (PatternDecl->isFromASTFile()) in InstantiateFunctionDefinition()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp5222 if (D->isFromASTFile()) in GetDeclRef()
5248 if (D->isFromASTFile()) in getDeclID()
5712 if (D->isFromASTFile()) in isImportedDeclContext()
5813 if (!D->isFromASTFile()) in CompletedImplicitDefinition()
5823 if (!D->isFromASTFile()) in VariableDefinitionInstantiated()
5832 if (!D->isFromASTFile()) in FunctionDefinitionInstantiated()
5841 if (!D->isFromASTFile()) in InstantiationRequested()
5857 if (!D->isFromASTFile()) in DefaultArgumentInstantiated()
5866 if (!D->isFromASTFile()) in DefaultMemberInitializerInstantiated()
5902 if (!D->isFromASTFile()) in DeclarationMarkedOpenMPThreadPrivate()
[all …]
H A DASTWriterDecl.cpp183 if (R->isFromASTFile()) in AddFirstDeclFromEachModule()
257 if (!Template->isFromASTFile()) in RegisterTemplateSpecialization()
327 if (!NS->isFromASTFile()) in VisitDecl()
1254 if (Parent->isFromASTFile() || isa<TranslationUnitDecl>(Parent)) { in VisitNamespaceDecl()
1829 if (!Prev->isFromASTFile()) in VisitRedeclarable()
2415 assert(!D->isFromASTFile() && "should not be emitting imported decl"); in WriteDecl()
H A DASTReaderDecl.cpp768 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitEnumDecl()
3371 if (Found->isFromASTFile()) in getDeclForMerging()
3422 if (PrimaryDC && !cast<Decl>(PrimaryDC)->isFromASTFile()) { in getAnonymousDeclForMerging()
H A DASTReader.cpp7345 if (!D->isFromASTFile()) in getOwningModuleFile()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp187 if (!I->isFromASTFile()) { in HandleTopLevelDecl()
202 if (D->isFromASTFile()) in HandleTagDeclDefinition()
H A DCGDebugInfo.cpp2271 if (!RD || !RD->isFromASTFile()) in isDefinedInClangModule()
2293 if (!CXXDecl->field_begin()->isFromASTFile()) in isDefinedInClangModule()
2545 if (DebugTypeExtRefs && ID->isFromASTFile() && ID->getDefinition() && in CreateType()
3045 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition(); in CreateEnumType()
3243 if (DebugTypeExtRefs && D->isFromASTFile()) { in getParentModuleOrNull()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp115 assert(isFromASTFile() && "Not from AST file?"); in getOwningModuleSlow()
343 if (!isFromASTFile()) { in setLexicalDeclContext()
1544 if (!D->isFromASTFile()) { in addHiddenDecl()
1621 (!ND->isFromASTFile() || in buildLookupImpl()
H A DDecl.cpp1739 if (OldD->isFromASTFile() && isFromASTFile()) in declarationReplaces()
H A DTextNodeDumper.cpp260 if (D->isFromASTFile()) in Visit()
H A DASTContext.cpp1679 assert(!Import->isFromASTFile() && "Non-local import declaration"); in addedLocalImportDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTWriter.h635 if (D->isFromASTFile()) in IsLocalDecl()
H A DASTReader.h1253 if (D->isFromASTFile()) in getKeyDeclaration()
1269 if (D->isFromASTFile()) in forEachImportedKeyDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp2393 if (D->isFromASTFile()) in addFileLevelDecl()