Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DDeclBase.cpp790 template <class T> static Decl *getNonClosureContext(T *D) { in getNonClosureContext() function
795 return getNonClosureContext(MD->getParent()->getParent()); in getNonClosureContext()
802 return getNonClosureContext(BD->getParent()); in getNonClosureContext()
804 return getNonClosureContext(CD->getParent()); in getNonClosureContext()
810 Decl *Decl::getNonClosureContext() { in getNonClosureContext() function in Decl
811 return ::getNonClosureContext(this); in getNonClosureContext()
815 return ::getNonClosureContext(this); in getNonClosureAncestor()
/external/clang/include/clang/AST/
DDeclBase.h402 Decl *getNonClosureContext();
403 const Decl *getNonClosureContext() const { in getNonClosureContext() function
404 return const_cast<Decl*>(this)->getNonClosureContext(); in getNonClosureContext()
/external/clang/lib/CodeGen/
DCGDecl.cpp163 DC = cast<DeclContext>(CD->getNonClosureContext()); in getStaticDeclName()
246 DC = DC->getNonClosureContext(); in getOrCreateStaticVarDecl()
DCodeGenFunction.cpp658 CurFuncDecl = (D ? D->getNonClosureContext() : nullptr); in StartFunction()
DCGDebugInfo.cpp3231 cast<CXXMethodDecl>(blockDecl->getNonClosureContext()); in EmitDeclareOfBlockLiteralArgVariable()