Home
last modified time | relevance | path

Searched refs:getNonClosureContext (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/AST/
DDeclBase.cpp833 template <class T> static Decl *getNonClosureContext(T *D) { in getNonClosureContext() function
838 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 Decl
854 return ::getNonClosureContext(this); in getNonClosureContext()
858 return ::getNonClosureContext(this); in getNonClosureAncestor()
/external/clang/include/clang/AST/
DDeclBase.h408 Decl *getNonClosureContext();
409 const Decl *getNonClosureContext() const { in getNonClosureContext() function
410 return const_cast<Decl*>(this)->getNonClosureContext(); in getNonClosureContext()
/external/clang/lib/CodeGen/
DCGDecl.cpp172 DC = cast<DeclContext>(CD->getNonClosureContext()); in getStaticDeclName()
255 DC = DC->getNonClosureContext(); in getOrCreateStaticVarDecl()
DCodeGenFunction.cpp670 CurFuncDecl = (D ? D->getNonClosureContext() : nullptr); in StartFunction()
DCGDebugInfo.cpp3433 cast_or_null<CXXMethodDecl>(blockDecl->getNonClosureContext())) in EmitDeclareOfBlockLiteralArgVariable()