Searched refs:getPrimaryContext (Results 1 – 12 of 12) sorted by relevance
72 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in lookups_begin()81 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in lookups_end()91 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in noload_lookups_begin()99 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in noload_lookups_end()
1173 return DC && this->getPrimaryContext() == DC->getPrimaryContext(); in Equals()1194 DeclContext *getPrimaryContext();1195 const DeclContext *getPrimaryContext() const { in getPrimaryContext() function1196 return const_cast<DeclContext*>(this)->getPrimaryContext(); in getPrimaryContext()
178 = static_cast<DependentStoredDeclsMap*>(getPrimaryContext()->getLookupPtr()); in ddiag_begin()
828 if (getPrimaryContext() != this) in Encloses()829 return getPrimaryContext()->Encloses(DC); in Encloses()832 if (DC->getPrimaryContext() == this) in Encloses()837 DeclContext *DeclContext::getPrimaryContext() { in getPrimaryContext() function in DeclContext1109 StoredDeclsMap *Map = getPrimaryContext()->LookupPtr.getPointer(); in removeDecl()1149 ND->getDeclContext()->getPrimaryContext()-> in addDecl()1157 ND->getDeclContext()->getPrimaryContext()-> in addDeclInternal()1191 assert(this == getPrimaryContext() && "buildLookup called on non-primary DC"); in buildLookup()1249 DeclContext *PrimaryContext = getPrimaryContext(); in lookup()1302 DeclContext *PrimaryContext = getPrimaryContext(); in noload_lookup()[all …]
538 const DeclContext *Primary = DC->getPrimaryContext(); in dumpLookups()
186 Common = Common->getPrimaryContext(); in addUsingDirective()202 return std::equal_range(begin(), end(), DC->getPrimaryContext(), in getNamespacesFor()1959 Namespaces.insert(Ctx->getPrimaryContext()); in CollectEnclosingNamespace()3088 if (Visited.visitedContext(Ctx->getPrimaryContext())) in LookupVisibleDecls()3654 for (DeclContext *DC = Start->getPrimaryContext(); DC != NULL; in BuildContextChain()3659 Chain.push_back(DC->getPrimaryContext()); in BuildContextChain()
1001 Ctx = Ctx->getPrimaryContext(); in getScopeForContext()1007 if (Ctx == Entity->getPrimaryContext()) in getScopeForContext()
259 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext(); in MightInstantiateTo()260 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext(); in MightInstantiateTo()
1095 DeclContext *TargetDC = DC->getPrimaryContext(); in getScopeForDeclContext()1098 if (ScopeDC->getPrimaryContext() == TargetDC) in getScopeForDeclContext()
912 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
2589 LookupDC = DC->getPrimaryContext(); in ReadDeclRecord()
3387 if (DC->getPrimaryContext() != DC) in WriteDeclContextVisibleBlock()