Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/include/clang/AST/
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()
DDeclContextInternals.h129 if (Singleton->isFromASTFile()) in removeExternalDecls()
134 [](Decl *D) { return D->isFromASTFile(); }), in removeExternalDecls()
DRedeclarable.h320 if (!D->isFromASTFile()) in getFirstDecl()
329 if (!D->isFromASTFile()) in getFirstDecl()
/external/clang/include/clang/AST/
DDeclContextInternals.h129 if (Singleton->isFromASTFile()) in removeExternalDecls()
134 std::mem_fun(&Decl::isFromASTFile)), in removeExternalDecls()
DRedeclarable.h265 if (!D->isFromASTFile()) in getFirstDecl()
274 if (!D->isFromASTFile()) in getFirstDecl()
DDeclBase.h590 assert(isFromASTFile() && "Only works on a deserialized declaration"); in setOwningModuleID()
644 bool isFromASTFile() const { return FromASTFile; } in isFromASTFile() function
649 if (isFromASTFile()) in getGlobalID()
657 if (isFromASTFile()) in getOwningModuleID()
672 if (!isFromASTFile()) in getImportedOwningModule()
681 if (isFromASTFile() || !Hidden) in getLocalOwningModule()
686 assert(!isFromASTFile() && Hidden && hasLocalOwningModuleStorage() && in setLocalOwningModule()
/external/clang/include/clang/Lex/
DMacroInfo.h269 bool isFromASTFile() const { return FromASTFile; } in isFromASTFile() function
279 if (isFromASTFile()) in getOwningModuleID()
291 assert(isFromASTFile()); in setOwningModuleID()
/external/llvm-project/clang/lib/Sema/
DIdentifierResolver.cpp275 if (Existing->isFromASTFile() && New->isFromASTFile()) in compareDeclarations()
/external/clang/lib/Sema/
DIdentifierResolver.cpp271 if (Existing->isFromASTFile() && New->isFromASTFile()) in compareDeclarations()
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp3135 if (!M->getMethod()->isFromASTFile()) in WriteSelectors()
3140 if (!M->getMethod()->isFromASTFile()) in WriteSelectors()
3232 if (!LangOpts.Modules || !D->isFromASTFile()) in getDeclForLocalLookup()
3239 if (!Redecl->isFromASTFile()) { in getDeclForLocalLookup()
3256 if (!First->isFromASTFile()) in getDeclForLocalLookup()
3663 if (!getDeclForLocalLookup(getLangOpts(), D)->isFromASTFile()) in isLookupResultEntirelyExternal()
3857 Chain->getKeyDeclaration(cast<Decl>(DC))->isFromASTFile()) { in WriteDeclContextVisibleBlock()
3861 if (!Prev->isFromASTFile()) in WriteDeclContextVisibleBlock()
3895 if (!ND->isFromASTFile()) in WriteDeclContextVisibleBlock()
4585 if (!D->isFromASTFile()) { in WriteASTCore()
[all …]
DASTWriterDecl.cpp182 if (R->isFromASTFile()) in AddFirstDeclFromEachModule()
256 if (!Template->isFromASTFile()) in RegisterTemplateSpecialization()
326 if (!NS->isFromASTFile()) in VisitDecl()
1252 if (Parent->isFromASTFile() || isa<TranslationUnitDecl>(Parent)) { in VisitNamespaceDecl()
1811 if (!Prev->isFromASTFile()) in VisitRedeclarable()
2397 assert(!D->isFromASTFile() && "should not be emitting imported decl"); in WriteDecl()
DASTReaderDecl.cpp766 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitEnumDecl()
3342 if (Found->isFromASTFile()) in getDeclForMerging()
3393 if (PrimaryDC && !cast<Decl>(PrimaryDC)->isFromASTFile()) { in getAnonymousDeclForMerging()
/external/clang/lib/CodeGen/
DObjectFilePCHContainerOperations.cpp184 if (!I->isFromASTFile()) { in HandleTopLevelDecl()
199 if (D->isFromASTFile()) in HandleTagDeclDefinition()
DCGDebugInfo.cpp1607 if (DebugTypeExtRefs && RD->isFromASTFile()) in completeRequiredType()
1641 if (!RD || !RD->isFromASTFile()) in isDefinedInClangModule()
1650 return CXXDecl->field_begin()->isFromASTFile(); in isDefinedInClangModule()
1802 if (DebugTypeExtRefs && ID->isFromASTFile() && ID->getDefinition() && in CreateType()
2195 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition(); in CreateEnumType()
2362 if (DebugTypeExtRefs && D->isFromASTFile()) { in getParentModuleOrNull()
/external/clang/lib/Serialization/
DASTWriter.cpp3009 if (!M->getMethod()->isFromASTFile()) in WriteSelectors()
3014 if (!M->getMethod()->isFromASTFile()) in WriteSelectors()
3104 if (!LangOpts.Modules || !D->isFromASTFile()) in getDeclForLocalLookup()
3111 if (!Redecl->isFromASTFile()) { in getDeclForLocalLookup()
3128 if (!First->isFromASTFile()) in getDeclForLocalLookup()
3522 if (!getDeclForLocalLookup(getLangOpts(), D)->isFromASTFile()) in isLookupResultEntirelyExternal()
3716 Chain->getKeyDeclaration(cast<Decl>(DC))->isFromASTFile()) { in WriteDeclContextVisibleBlock()
3720 if (!Prev->isFromASTFile()) in WriteDeclContextVisibleBlock()
3754 if (!ND->isFromASTFile()) in WriteDeclContextVisibleBlock()
4317 if (!D->isFromASTFile()) { in WriteASTCore()
[all …]
DASTWriterDecl.cpp168 if (R->isFromASTFile()) in AddFirstDeclFromEachModule()
242 if (!Template->isFromASTFile()) in RegisterTemplateSpecialization()
311 if (!NS->isFromASTFile()) in VisitDecl()
1093 if (Parent->isFromASTFile() || isa<TranslationUnitDecl>(Parent)) { in VisitNamespaceDecl()
1612 if (!Prev->isFromASTFile()) in VisitRedeclarable()
2136 assert(!D->isFromASTFile() && "should not be emitting imported decl"); in WriteDecl()
DASTReaderDecl.cpp697 if (!D->isFromASTFile() && D->isCompleteDefinition()) { in VisitEnumDecl()
2866 if (Found->isFromASTFile()) in getDeclForMerging()
2890 if (!cast<Decl>(DC)->isFromASTFile()) { in getAnonymousDeclForMerging()
/external/llvm-project/clang/lib/CodeGen/
DObjectFilePCHContainerOperations.cpp187 if (!I->isFromASTFile()) { in HandleTopLevelDecl()
202 if (D->isFromASTFile()) in HandleTagDeclDefinition()
DCGDebugInfo.cpp2231 if (!RD || !RD->isFromASTFile()) in isDefinedInClangModule()
2253 if (!CXXDecl->field_begin()->isFromASTFile()) in isDefinedInClangModule()
2498 if (DebugTypeExtRefs && ID->isFromASTFile() && ID->getDefinition() && in CreateType()
2983 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition(); in CreateEnumType()
3190 if (DebugTypeExtRefs && D->isFromASTFile()) { in getParentModuleOrNull()
/external/llvm-project/clang/lib/AST/
DDeclBase.cpp115 assert(isFromASTFile() && "Not from AST file?"); in getOwningModuleSlow()
343 if (!isFromASTFile()) { in setLexicalDeclContext()
1575 if (!D->isFromASTFile()) { in addHiddenDecl()
1652 (!ND->isFromASTFile() || in buildLookupImpl()
/external/clang/lib/AST/
DDeclBase.cpp95 assert(isFromASTFile() && "Not from AST file?"); in getOwningModuleSlow()
1290 if (!D->isFromASTFile()) { in addHiddenDecl()
1390 (!ND->isFromASTFile() || in buildLookupImpl()
/external/llvm-project/clang/include/clang/Serialization/
DASTWriter.h627 if (D->isFromASTFile()) in IsLocalDecl()
DASTReader.h1247 if (D->isFromASTFile()) in getKeyDeclaration()
1263 if (D->isFromASTFile()) in forEachImportedKeyDecl()
/external/clang/include/clang/Serialization/
DASTReader.h1083 if (D->isFromASTFile()) in getKeyDeclaration()
1099 if (D->isFromASTFile()) in forEachImportedKeyDecl()
DASTWriter.h572 if (D->isFromASTFile()) in IsLocalDecl()

12