Home
last modified time | relevance | path

Searched refs:getCurLexicalContext (Results 1 – 13 of 13) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaSYCL.cpp30 FunctionDecl *FD = dyn_cast<FunctionDecl>(SemaRef.getCurLexicalContext()); in DiagIfDeviceCode()
HDSemaPseudoObject.cpp697 if (S.getCurLexicalContext()->isObjCContainer() && in DiagnoseUnsupportedPropertyUse()
698 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse()
699 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
HDSemaStmtAsm.cpp261 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext()); in ActOnGCCAsmStmt()
HDSemaHLSL.cpp37 DeclContext *LexicalParent = SemaRef.getCurLexicalContext(); in ActOnStartBuffer()
HDSemaAvailability.cpp687 Decl *Ctx = cast<Decl>(S.getCurLexicalContext()); in EmitAvailabilityWarning()
HDSemaOpenMP.cpp3050 SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate()
3071 return SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate()
3141 !SemaRef.getCurLexicalContext()->isTranslationUnit()) { in ActOnOpenMPIdExpression()
3156 !CanonicalVD->getDeclContext()->Equals(SemaRef.getCurLexicalContext())) { in ActOnOpenMPIdExpression()
3171 (!SemaRef.getCurLexicalContext()->isFileContext() || in ActOnOpenMPIdExpression()
3172 !SemaRef.getCurLexicalContext()->Encloses( in ActOnOpenMPIdExpression()
3187 !SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), CurScope)) { in ActOnOpenMPIdExpression()
3331 D = OMPThreadPrivateDecl::Create(Context, SemaRef.getCurLexicalContext(), in CheckOMPThreadPrivateDecl()
3506 Owner = SemaRef.getCurLexicalContext(); in ActOnOpenMPAllocateDirective()
3621 getASTContext(), SemaRef.getCurLexicalContext(), Loc, ClauseList); in CheckOMPRequiresDecl()
[all …]
HDSemaObjC.cpp1260 const DeclContext *DC = SemaRef.getCurLexicalContext(); in getCurObjCLexicalContext()
HDSema.cpp1977 Decl *C = cast<Decl>(getCurLexicalContext()); in checkTypeSupport()
HDSemaDecl.cpp15629 if (getCurLexicalContext()->isObjCContainer() && in ActOnStartOfFunctionDef()
15630 getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in ActOnStartOfFunctionDef()
15631 getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) in ActOnStartOfFunctionDef()
18091 if (getCurLexicalContext()->isObjCContainer() && in ActOnTagFinishDefinition()
HDSemaDeclObjC.cpp5102 SemaRef.getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
HDTreeTransform.h6231 auto *RD = dyn_cast<CXXRecordDecl>(SemaRef.getCurLexicalContext()); in TransformFunctionProtoType()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
HDParseOpenMP.cpp370 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, in ParseOpenMPDeclareReductionDirective()
637 getCurScope(), Actions.getCurLexicalContext(), MapperId, MapperType, in ParseOpenMPDeclareMapperDirective()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
HDSema.h807 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function