/external/llvm-project/clang/include/clang/AST/ |
D | DeclBase.h | 364 (!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()
|
D | DeclContextInternals.h | 129 if (Singleton->isFromASTFile()) in removeExternalDecls() 134 [](Decl *D) { return D->isFromASTFile(); }), in removeExternalDecls()
|
D | Redeclarable.h | 320 if (!D->isFromASTFile()) in getFirstDecl() 329 if (!D->isFromASTFile()) in getFirstDecl()
|
/external/clang/include/clang/AST/ |
D | DeclContextInternals.h | 129 if (Singleton->isFromASTFile()) in removeExternalDecls() 134 std::mem_fun(&Decl::isFromASTFile)), in removeExternalDecls()
|
D | Redeclarable.h | 265 if (!D->isFromASTFile()) in getFirstDecl() 274 if (!D->isFromASTFile()) in getFirstDecl()
|
D | DeclBase.h | 590 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/ |
D | MacroInfo.h | 269 bool isFromASTFile() const { return FromASTFile; } in isFromASTFile() function 279 if (isFromASTFile()) in getOwningModuleID() 291 assert(isFromASTFile()); in setOwningModuleID()
|
/external/llvm-project/clang/lib/Sema/ |
D | IdentifierResolver.cpp | 275 if (Existing->isFromASTFile() && New->isFromASTFile()) in compareDeclarations()
|
/external/clang/lib/Sema/ |
D | IdentifierResolver.cpp | 271 if (Existing->isFromASTFile() && New->isFromASTFile()) in compareDeclarations()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTWriter.cpp | 3135 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 …]
|
D | ASTWriterDecl.cpp | 182 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()
|
D | ASTReaderDecl.cpp | 766 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/ |
D | ObjectFilePCHContainerOperations.cpp | 184 if (!I->isFromASTFile()) { in HandleTopLevelDecl() 199 if (D->isFromASTFile()) in HandleTagDeclDefinition()
|
D | CGDebugInfo.cpp | 1607 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/ |
D | ASTWriter.cpp | 3009 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 …]
|
D | ASTWriterDecl.cpp | 168 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()
|
D | ASTReaderDecl.cpp | 697 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/ |
D | ObjectFilePCHContainerOperations.cpp | 187 if (!I->isFromASTFile()) { in HandleTopLevelDecl() 202 if (D->isFromASTFile()) in HandleTagDeclDefinition()
|
D | CGDebugInfo.cpp | 2231 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/ |
D | DeclBase.cpp | 115 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/ |
D | DeclBase.cpp | 95 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/ |
D | ASTWriter.h | 627 if (D->isFromASTFile()) in IsLocalDecl()
|
D | ASTReader.h | 1247 if (D->isFromASTFile()) in getKeyDeclaration() 1263 if (D->isFromASTFile()) in forEachImportedKeyDecl()
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 1083 if (D->isFromASTFile()) in getKeyDeclaration() 1099 if (D->isFromASTFile()) in forEachImportedKeyDecl()
|
D | ASTWriter.h | 572 if (D->isFromASTFile()) in IsLocalDecl()
|