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

/external/clang/lib/AST/
H A DDeclBase.cpp793 if (getPrimaryContext() != this)
794 return getPrimaryContext()->Encloses(DC);
797 if (DC->getPrimaryContext() == this)
802 DeclContext *DeclContext::getPrimaryContext() { function in class:DeclContext
1033 StoredDeclsMap *Map = getPrimaryContext()->LookupPtr.getPointer();
1073 ND->getDeclContext()->getPrimaryContext()->
1081 ND->getDeclContext()->getPrimaryContext()->
1115 assert(this == getPrimaryContext() && "buildLookup called on non-primary DC");
1160 DeclContext *PrimaryContext = getPrimaryContext();
1240 return Ctx->getPrimaryContext();
[all...]
/external/clang/include/clang/AST/
H A DDeclBase.h1100 return DC && this->getPrimaryContext() == DC->getPrimaryContext();
1115 /// getPrimaryContext - There may be many different
1121 DeclContext *getPrimaryContext();
1122 const DeclContext *getPrimaryContext() const { function in class:clang::DeclContext
1123 return const_cast<DeclContext*>(this)->getPrimaryContext();

Completed in 78 milliseconds