Searched defs:getPrimaryContext (Results 1 - 2 of 2) sorted by relevance

/external/clang/include/clang/AST/
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...]

Completed in 406 milliseconds