|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/AST/DeclBase.h 1925 DeclContext *getPrimaryContext();
References
tools/clang/include/clang/AST/DeclBase.h 1927 return const_cast<DeclContext*>(this)->getPrimaryContext();
2329 assert(this == getPrimaryContext() &&
tools/clang/include/clang/AST/DeclLookups.h 76 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
90 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
tools/clang/lib/AST/ASTImporterLookupTable.cpp 86 DeclContext *DC = ND->getDeclContext()->getPrimaryContext();
88 DeclContext *ReDC = DC->getRedeclContext()->getPrimaryContext();
95 DeclContext *DC = ND->getDeclContext()->getPrimaryContext();
97 DeclContext *ReDC = DC->getRedeclContext()->getPrimaryContext();
104 auto DCI = LookupTable.find(DC->getPrimaryContext());
117 auto DCI = LookupTable.find(DC->getPrimaryContext());
135 StringRef Primary = DC->getPrimaryContext() ? " primary" : "";
tools/clang/lib/AST/DeclBase.cpp 1482 StoredDeclsMap *Map = DC->getPrimaryContext()->LookupPtr;
1525 ND->getDeclContext()->getPrimaryContext()->
1533 ND->getDeclContext()->getPrimaryContext()->
1545 assert(this == getPrimaryContext() && "buildLookup called on non-primary DC");
1679 DeclContext *PrimaryContext = getPrimaryContext();
1767 return Ctx->getPrimaryContext();
1800 DeclContext *PrimaryDC = this->getPrimaryContext();
1801 DeclContext *DeclDC = D->getDeclContext()->getPrimaryContext();
1809 assert(this == getPrimaryContext() && "expected a primary DC");
1813 getParent()->getPrimaryContext()
1846 getParent()->getPrimaryContext()->
1963 Parent = Parent->getPrimaryContext();
tools/clang/lib/AST/ExternalASTMerger.cpp 83 return cast<DeclContext>(SearchResultDecl)->getPrimaryContext();
211 cast<DeclContext>(From)->getPrimaryContext());
233 ToTag->getPrimaryContext()->setMustBuildLookupTable();
240 ToContainer->getPrimaryContext()->setMustBuildLookupTable();
tools/clang/lib/Frontend/ASTConsumers.cpp 84 if (DC == DC->getPrimaryContext())
88 << DC->getPrimaryContext() << "\n";
tools/clang/lib/Sema/Sema.cpp 1618 Ctx = Ctx->getPrimaryContext();
1624 if (Ctx == Entity->getPrimaryContext())
tools/clang/lib/Sema/SemaDecl.cpp 527 DC = DC->getPrimaryContext();
1488 DeclContext *TargetDC = DC->getPrimaryContext();
1491 if (ScopeDC->getPrimaryContext() == TargetDC)
tools/clang/lib/Sema/SemaLookup.cpp 186 Common = Common->getPrimaryContext();
201 DC->getPrimaryContext(),
2661 Namespaces.insert(Ctx->getPrimaryContext());
3762 if (Visited.visitedContext(Ctx->getPrimaryContext()))
4501 for (DeclContext *DC = Start->getPrimaryContext(); DC != nullptr;
4506 Chain.push_back(DC->getPrimaryContext());
tools/clang/lib/Serialization/ASTReaderDecl.cpp 4038 auto *DC = cast<DeclContext>(D)->getPrimaryContext();
tools/clang/lib/Serialization/ASTWriter.cpp 4024 assert(DC == DC->getPrimaryContext() && "only primary DC has lookup table");
4211 UpdatedDeclContexts.insert(DC->getPrimaryContext());
4216 StoredDeclsMap *Map = DC->getPrimaryContext()->buildLookup();
4248 if (DC->getPrimaryContext() != DC)
tools/clang/lib/Serialization/ASTWriterDecl.cpp 323 Writer.UpdatedDeclContexts.insert(NS->getPrimaryContext());
1213 D->getParent()->getRedeclContext()->getPrimaryContext());
tools/lldb/source/Symbol/ClangASTImporter.cpp 1149 to_tag_decl->getPrimaryContext()->setMustBuildLookupTable();
tools/lldb/source/Symbol/CxxModuleHandler.cpp 142 return DC->getPrimaryContext();