Home
last modified time | relevance | path

Searched refs:getNonClosureContext (Results 1 – 10 of 10) 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/llvm-project/clang/lib/AST/
DDeclBase.cpp1025 template <class T> static Decl *getNonClosureContext(T *D) { in getNonClosureContext() function
1030 return getNonClosureContext(MD->getParent()->getParent()); in getNonClosureContext()
1037 return getNonClosureContext(BD->getParent()); in getNonClosureContext()
1039 return getNonClosureContext(CD->getParent()); in getNonClosureContext()
1044 Decl *Decl::getNonClosureContext() { in getNonClosureContext() function in Decl
1045 return ::getNonClosureContext(this); in getNonClosureContext()
1049 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/llvm-project/clang/include/clang/AST/
DDeclBase.h453 Decl *getNonClosureContext();
454 const Decl *getNonClosureContext() const { in getNonClosureContext() function
455 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()
/external/llvm-project/clang/lib/CodeGen/
DCGDecl.cpp220 DC = cast<DeclContext>(CD->getNonClosureContext()); in getStaticDeclName()
297 DC = DC->getNonClosureContext(); in getOrCreateStaticVarDecl()
DCodeGenFunction.cpp708 CurFuncDecl = (D ? D->getNonClosureContext() : nullptr); in StartFunction()
DCGDebugInfo.cpp4530 cast_or_null<CXXMethodDecl>(blockDecl->getNonClosureContext())) in EmitDeclareOfBlockLiteralArgVariable()