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

/external/clang/lib/AST/
H A DDeclBase.cpp939 if (getPrimaryContext() != this)
940 return getPrimaryContext()->Encloses(DC);
943 if (DC->getPrimaryContext() == this)
948 DeclContext *DeclContext::getPrimaryContext() { function in class:DeclContext
1215 StoredDeclsMap *Map = DC->getPrimaryContext()->LookupPtr;
1256 ND->getDeclContext()->getPrimaryContext()->
1264 ND->getDeclContext()->getPrimaryContext()->
1302 assert(this == getPrimaryContext() && "buildLookup called on non-primary DC");
1367 const DeclContext *PrimaryContext = getPrimaryContext();
1429 DeclContext *PrimaryContext = getPrimaryContext();
[all...]
/external/clang/include/clang/AST/
H A DDeclBase.h1312 return DC && this->getPrimaryContext() == DC->getPrimaryContext();
1327 /// getPrimaryContext - There may be many different
1333 DeclContext *getPrimaryContext();
1334 const DeclContext *getPrimaryContext() const { function in class:clang::DeclContext
1335 return const_cast<DeclContext*>(this)->getPrimaryContext();
1723 assert(this == getPrimaryContext() &&

Completed in 490 milliseconds