Searched refs:getNonClosureContext (Results 1 – 5 of 5) sorted by relevance
833 template <class T> static Decl *getNonClosureContext(T *D) { in getNonClosureContext() function838 return getNonClosureContext(MD->getParent()->getParent()); in getNonClosureContext()845 return getNonClosureContext(BD->getParent()); in getNonClosureContext()847 return getNonClosureContext(CD->getParent()); in getNonClosureContext()853 Decl *Decl::getNonClosureContext() { in getNonClosureContext() function in Decl854 return ::getNonClosureContext(this); in getNonClosureContext()858 return ::getNonClosureContext(this); in getNonClosureAncestor()
408 Decl *getNonClosureContext();409 const Decl *getNonClosureContext() const { in getNonClosureContext() function410 return const_cast<Decl*>(this)->getNonClosureContext(); in getNonClosureContext()
172 DC = cast<DeclContext>(CD->getNonClosureContext()); in getStaticDeclName()255 DC = DC->getNonClosureContext(); in getOrCreateStaticVarDecl()
670 CurFuncDecl = (D ? D->getNonClosureContext() : nullptr); in StartFunction()
3433 cast_or_null<CXXMethodDecl>(blockDecl->getNonClosureContext())) in EmitDeclareOfBlockLiteralArgVariable()