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

/external/clang/include/clang/AST/
H A DDeclLookups.h72 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
93 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
H A DDependentDiagnostic.h178 = static_cast<DependentStoredDeclsMap*>(getPrimaryContext()->getLookupPtr());
H A DDeclBase.h1269 return DC && this->getPrimaryContext() == DC->getPrimaryContext();
1284 /// getPrimaryContext - There may be many different
1290 DeclContext *getPrimaryContext();
1291 const DeclContext *getPrimaryContext() const { function in class:clang::DeclContext
1292 return const_cast<DeclContext*>(this)->getPrimaryContext();
1680 assert(this == getPrimaryContext() &&
/external/clang/lib/AST/
H A DDeclBase.cpp899 if (getPrimaryContext() != this)
900 return getPrimaryContext()->Encloses(DC);
903 if (DC->getPrimaryContext() == this)
908 DeclContext *DeclContext::getPrimaryContext() { function in class:DeclContext
1180 StoredDeclsMap *Map = getPrimaryContext()->LookupPtr;
1220 ND->getDeclContext()->getPrimaryContext()->
1228 ND->getDeclContext()->getPrimaryContext()->
1266 assert(this == getPrimaryContext() && "buildLookup called on non-primary DC");
1331 const DeclContext *PrimaryContext = getPrimaryContext();
1393 DeclContext *PrimaryContext = getPrimaryContext();
[all...]
/external/clang/lib/Frontend/
H A DASTConsumers.cpp83 if (DC == DC->getPrimaryContext())
87 << DC->getPrimaryContext() << "\n";
/external/clang/lib/Sema/
H A DSema.cpp1063 Ctx = Ctx->getPrimaryContext();
1069 if (Ctx == Entity->getPrimaryContext())
H A DSemaLookup.cpp183 Common = Common->getPrimaryContext();
200 DC->getPrimaryContext(),
2002 Namespaces.insert(Ctx->getPrimaryContext());
3036 if (Visited.visitedContext(Ctx->getPrimaryContext()))
3759 for (DeclContext *DC = Start->getPrimaryContext(); DC != nullptr;
3764 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.cpp462 DC = DC->getPrimaryContext();
1258 DeclContext *TargetDC = DC->getPrimaryContext();
1261 if (ScopeDC->getPrimaryContext() == TargetDC)
/external/clang/lib/Serialization/
H A DASTWriterDecl.cpp246 Writer.UpdatedDeclContexts.insert(NS->getPrimaryContext());
1019 D->getParent()->getRedeclContext()->getPrimaryContext());
H A DASTWriter.cpp3694 assert(DC == DC->getPrimaryContext() && "only primary DC has lookup table");
3871 if (DC->getPrimaryContext() != DC)
4774 UpdatedDeclContexts.insert(RD->getPrimaryContext());
H A DASTReaderDecl.cpp3196 // DeclContext *LookupDC = DC->getPrimaryContext();
3200 LookupDC = DC->getPrimaryContext();
H A DASTReader.cpp2787 DC->getPrimaryContext()->setHasExternalVisibleStorage(true);

Completed in 369 milliseconds