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

/external/clang/include/clang/AST/
H A DDeclLookups.h72 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
90 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
H A DDependentDiagnostic.h178 = static_cast<DependentStoredDeclsMap*>(getPrimaryContext()->getLookupPtr());
H A DDeclBase.h1197 return DC && this->getPrimaryContext() == DC->getPrimaryContext();
1212 /// getPrimaryContext - There may be many different
1218 DeclContext *getPrimaryContext();
1219 const DeclContext *getPrimaryContext() const { function in class:clang::DeclContext
1220 return const_cast<DeclContext*>(this)->getPrimaryContext();
/external/clang/lib/AST/
H A DDeclBase.cpp874 if (getPrimaryContext() != this)
875 return getPrimaryContext()->Encloses(DC);
878 if (DC->getPrimaryContext() == this)
883 DeclContext *DeclContext::getPrimaryContext() { function in class:DeclContext
1152 StoredDeclsMap *Map = getPrimaryContext()->LookupPtr.getPointer();
1192 ND->getDeclContext()->getPrimaryContext()->
1200 ND->getDeclContext()->getPrimaryContext()->
1238 assert(this == getPrimaryContext() && "buildLookup called on non-primary DC");
1295 DeclContext *PrimaryContext = getPrimaryContext();
1350 DeclContext *PrimaryContext = getPrimaryContext();
[all...]
/external/clang/lib/Sema/
H A DSema.cpp1040 Ctx = Ctx->getPrimaryContext();
1046 if (Ctx == Entity->getPrimaryContext())
H A DSemaLookup.cpp183 Common = Common->getPrimaryContext();
199 return std::equal_range(begin(), end(), DC->getPrimaryContext(),
1946 Namespaces.insert(Ctx->getPrimaryContext());
2983 if (Visited.visitedContext(Ctx->getPrimaryContext()))
3774 for (DeclContext *DC = Start->getPrimaryContext(); DC != nullptr;
3779 Chain.push_back(DC->getPrimaryContext());
H A DSemaAccess.cpp260 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext();
261 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext();
H A DSemaDecl.cpp417 DC = DC->getPrimaryContext();
1210 DeclContext *TargetDC = DC->getPrimaryContext();
1213 if (ScopeDC->getPrimaryContext() == TargetDC)
/external/clang/lib/Serialization/
H A DASTWriterDecl.cpp191 Writer.AddUpdatedDeclContext(NS->getPrimaryContext());
924 D->getParent()->getRedeclContext()->getPrimaryContext());
H A DASTWriter.cpp3482 assert(DC == DC->getPrimaryContext() && "only primary DC has lookup table");
3598 if (DC->getPrimaryContext() != DC)
4530 AddUpdatedDeclContext(RD->getPrimaryContext());
H A DASTReaderDecl.cpp2821 // DeclContext *LookupDC = DC->getPrimaryContext();
2825 LookupDC = DC->getPrimaryContext();
H A DASTReader.cpp2688 DC->getPrimaryContext()->setHasExternalVisibleStorage(true);

Completed in 5678 milliseconds