/external/llvm-project/clang/lib/AST/ |
D | ASTImporterLookupTable.cpp | 104 DeclContext *DC = ND->getDeclContext()->getPrimaryContext(); in add() 106 DeclContext *ReDC = DC->getRedeclContext()->getPrimaryContext(); in add() 113 DeclContext *DC = ND->getDeclContext()->getPrimaryContext(); in remove() 115 DeclContext *ReDC = DC->getRedeclContext()->getPrimaryContext(); in remove() 122 auto DCI = LookupTable.find(DC->getPrimaryContext()); in lookup() 135 auto DCI = LookupTable.find(DC->getPrimaryContext()); in dump() 153 StringRef Primary = DC->getPrimaryContext() ? " primary" : ""; in dump()
|
D | DeclBase.cpp | 1212 if (getPrimaryContext() != this) in Encloses() 1213 return getPrimaryContext()->Encloses(DC); in Encloses() 1216 if (DC->getPrimaryContext() == this) in Encloses() 1221 DeclContext *DeclContext::getPrimaryContext() { in getPrimaryContext() function in DeclContext 1542 StoredDeclsMap *Map = DC->getPrimaryContext()->LookupPtr; in removeDecl() 1585 ND->getDeclContext()->getPrimaryContext()-> in addDecl() 1593 ND->getDeclContext()->getPrimaryContext()-> in addDeclInternal() 1605 assert(this == getPrimaryContext() && "buildLookup called on non-primary DC"); in buildLookup() 1674 const DeclContext *PrimaryContext = getPrimaryContext(); in lookup() 1739 DeclContext *PrimaryContext = getPrimaryContext(); in noload_lookup() [all …]
|
D | ExternalASTMerger.cpp | 83 return cast<DeclContext>(SearchResultDecl)->getPrimaryContext(); in LookupSameContext() 211 cast<DeclContext>(From)->getPrimaryContext()); in Imported() 233 ToTag->getPrimaryContext()->setMustBuildLookupTable(); in Imported() 240 ToContainer->getPrimaryContext()->setMustBuildLookupTable(); in Imported()
|
D | ASTDumper.cpp | 30 const DeclContext *Primary = DC->getPrimaryContext(); in dumpLookups()
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 982 if (getPrimaryContext() != this) in Encloses() 983 return getPrimaryContext()->Encloses(DC); in Encloses() 986 if (DC->getPrimaryContext() == this) in Encloses() 991 DeclContext *DeclContext::getPrimaryContext() { in getPrimaryContext() function in DeclContext 1259 StoredDeclsMap *Map = DC->getPrimaryContext()->LookupPtr; in removeDecl() 1300 ND->getDeclContext()->getPrimaryContext()-> in addDecl() 1308 ND->getDeclContext()->getPrimaryContext()-> in addDeclInternal() 1346 assert(this == getPrimaryContext() && "buildLookup called on non-primary DC"); in buildLookup() 1411 const DeclContext *PrimaryContext = getPrimaryContext(); in lookup() 1473 DeclContext *PrimaryContext = getPrimaryContext(); in noload_lookup() [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclLookups.h | 76 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in lookups() 90 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in noload_lookups()
|
D | DeclBase.h | 1940 return DC && this->getPrimaryContext() == DC->getPrimaryContext(); in Equals() 1961 DeclContext *getPrimaryContext(); 1962 const DeclContext *getPrimaryContext() const { in getPrimaryContext() function 1963 return const_cast<DeclContext*>(this)->getPrimaryContext(); in getPrimaryContext() 2365 assert(this == getPrimaryContext() && in setMustBuildLookupTable()
|
D | DependentDiagnostic.h | 179 = static_cast<DependentStoredDeclsMap*>(getPrimaryContext()->getLookupPtr()); in ddiags()
|
/external/clang/include/clang/AST/ |
D | DeclLookups.h | 72 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in lookups() 93 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in noload_lookups()
|
D | DeclBase.h | 1331 return DC && this->getPrimaryContext() == DC->getPrimaryContext(); in Equals() 1352 DeclContext *getPrimaryContext(); 1353 const DeclContext *getPrimaryContext() const { in getPrimaryContext() function 1354 return const_cast<DeclContext*>(this)->getPrimaryContext(); in getPrimaryContext() 1742 assert(this == getPrimaryContext() && in setMustBuildLookupTable()
|
D | DependentDiagnostic.h | 178 = static_cast<DependentStoredDeclsMap*>(getPrimaryContext()->getLookupPtr()); in ddiags()
|
/external/llvm-project/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 84 if (DC == DC->getPrimaryContext()) in print() 88 << DC->getPrimaryContext() << "\n"; in print()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 83 if (DC == DC->getPrimaryContext()) in print() 87 << DC->getPrimaryContext() << "\n"; in print()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | CxxModuleHandler.cpp | 143 return DC->getPrimaryContext(); in getEqualLocalDeclContext()
|
D | ClangASTImporter.cpp | 1143 to_tag_decl->getPrimaryContext()->setMustBuildLookupTable(); in Imported()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 1106 Ctx = Ctx->getPrimaryContext(); in getScopeForContext() 1112 if (Ctx == Entity->getPrimaryContext()) in getScopeForContext()
|
D | SemaLookup.cpp | 186 Common = Common->getPrimaryContext(); in addUsingDirective() 203 DC->getPrimaryContext(), in getNamespacesFor() 2410 Namespaces.insert(Ctx->getPrimaryContext()); in CollectEnclosingNamespace() 3443 if (Visited.visitedContext(Ctx->getPrimaryContext())) in LookupVisibleDecls() 4170 for (DeclContext *DC = Start->getPrimaryContext(); DC != nullptr; in buildContextChain() 4175 Chain.push_back(DC->getPrimaryContext()); in buildContextChain()
|
D | SemaAccess.cpp | 265 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext(); in MightInstantiateTo() 266 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext(); in MightInstantiateTo()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaLookup.cpp | 186 Common = Common->getPrimaryContext(); in addUsingDirective() 201 DC->getPrimaryContext(), in getNamespacesFor() 2618 Namespaces.insert(Ctx->getPrimaryContext()); in CollectEnclosingNamespace() 3748 if (Visited.visitedContext(Ctx->getPrimaryContext())) in lookupInDeclContext() 4485 for (DeclContext *DC = Start->getPrimaryContext(); DC != nullptr; in buildContextChain() 4490 Chain.push_back(DC->getPrimaryContext()); in buildContextChain()
|
D | SemaAccess.cpp | 264 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext(); in MightInstantiateTo() 265 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext(); in MightInstantiateTo()
|
D | Sema.cpp | 1848 Ctx = Ctx->getPrimaryContext(); in getScopeForContext() 1854 if (Ctx == Entity->getPrimaryContext()) in getScopeForContext()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 3537 assert(DC == DC->getPrimaryContext() && "only primary DC has lookup table"); in GenerateNameLookupTable() 3724 UpdatedDeclContexts.insert(DC->getPrimaryContext()); in WriteDeclContextVisibleBlock() 3729 StoredDeclsMap *Map = DC->getPrimaryContext()->buildLookup(); in WriteDeclContextVisibleBlock() 3761 if (DC->getPrimaryContext() != DC) in WriteDeclContextVisibleBlock() 4687 UpdatedDeclContexts.insert(RD->getPrimaryContext()); in WriteDeclUpdatesBlocks() 5686 assert(DC == DC->getPrimaryContext() && "added to non-primary context"); in AddedVisibleDecl()
|
D | ASTWriterDecl.cpp | 313 Writer.UpdatedDeclContexts.insert(NS->getPrimaryContext()); in VisitDecl() 1092 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTWriter.cpp | 3678 assert(DC == DC->getPrimaryContext() && "only primary DC has lookup table"); in GenerateNameLookupTable() 3865 UpdatedDeclContexts.insert(DC->getPrimaryContext()); in WriteDeclContextVisibleBlock() 3870 StoredDeclsMap *Map = DC->getPrimaryContext()->buildLookup(); in WriteDeclContextVisibleBlock() 3902 if (DC->getPrimaryContext() != DC) in WriteDeclContextVisibleBlock() 4999 UpdatedDeclContexts.insert(RD->getPrimaryContext()); in WriteDeclUpdatesBlocks() 5964 assert(DC == DC->getPrimaryContext() && "added to non-primary context"); in AddedVisibleDecl()
|
D | ASTWriterDecl.cpp | 328 Writer.UpdatedDeclContexts.insert(NS->getPrimaryContext()); in VisitDecl() 1251 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
|