Home
last modified time | relevance | path

Searched refs:getPrimaryContext (Results 1 – 12 of 12) sorted by relevance

/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/AST/
DDeclLookups.h72 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()
DDeclBase.h1173 return DC && this->getPrimaryContext() == DC->getPrimaryContext(); in Equals()
1194 DeclContext *getPrimaryContext();
1195 const DeclContext *getPrimaryContext() const { in getPrimaryContext() function
1196 return const_cast<DeclContext*>(this)->getPrimaryContext(); in getPrimaryContext()
DDependentDiagnostic.h178 = static_cast<DependentStoredDeclsMap*>(getPrimaryContext()->getLookupPtr()); in ddiag_begin()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/
DDeclBase.cpp828 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 DeclContext
1109 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 …]
DASTDumper.cpp538 const DeclContext *Primary = DC->getPrimaryContext(); in dumpLookups()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaLookup.cpp186 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()
DSema.cpp1001 Ctx = Ctx->getPrimaryContext(); in getScopeForContext()
1007 if (Ctx == Entity->getPrimaryContext()) in getScopeForContext()
DSemaAccess.cpp259 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext(); in MightInstantiateTo()
260 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext(); in MightInstantiateTo()
DSemaDecl.cpp1095 DeclContext *TargetDC = DC->getPrimaryContext(); in getScopeForDeclContext()
1098 if (ScopeDC->getPrimaryContext() == TargetDC) in getScopeForDeclContext()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Serialization/
DASTWriterDecl.cpp912 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
DASTReaderDecl.cpp2589 LookupDC = DC->getPrimaryContext(); in ReadDeclRecord()
DASTWriter.cpp3387 if (DC->getPrimaryContext() != DC) in WriteDeclContextVisibleBlock()