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

/external/clang/lib/AST/
H A DDeclBase.cpp982 if (getPrimaryContext() != this)
983 return getPrimaryContext()->Encloses(DC);
986 if (DC->getPrimaryContext() == this)
991 DeclContext *DeclContext::getPrimaryContext() { function in class:DeclContext
1259 StoredDeclsMap *Map = DC->getPrimaryContext()->LookupPtr;
1300 ND->getDeclContext()->getPrimaryContext()->
1308 ND->getDeclContext()->getPrimaryContext()->
1346 assert(this == getPrimaryContext() && "buildLookup called on non-primary DC");
1411 const DeclContext *PrimaryContext = getPrimaryContext();
1473 DeclContext *PrimaryContext = getPrimaryContext();
[all...]
/external/clang/include/clang/AST/
H A DDeclBase.h1331 return DC && this->getPrimaryContext() == DC->getPrimaryContext();
1346 /// getPrimaryContext - There may be many different
1352 DeclContext *getPrimaryContext();
1353 const DeclContext *getPrimaryContext() const { function in class:clang::DeclContext
1354 return const_cast<DeclContext*>(this)->getPrimaryContext();
1742 assert(this == getPrimaryContext() &&

Completed in 115 milliseconds