Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSYCL.cpp30 FunctionDecl *FD = dyn_cast<FunctionDecl>(SemaRef.getCurLexicalContext()); in DiagIfDeviceCode()
H A DSemaPseudoObject.cpp697 if (S.getCurLexicalContext()->isObjCContainer() && in DiagnoseUnsupportedPropertyUse()
698 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse()
699 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
H A DSemaStmtAsm.cpp261 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext()); in ActOnGCCAsmStmt()
H A DSemaHLSL.cpp37 DeclContext *LexicalParent = SemaRef.getCurLexicalContext(); in ActOnStartBuffer()
H A DSemaAvailability.cpp687 Decl *Ctx = cast<Decl>(S.getCurLexicalContext()); in EmitAvailabilityWarning()
H A DSemaOpenMP.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 …]
H A DSemaObjC.cpp1260 const DeclContext *DC = SemaRef.getCurLexicalContext(); in getCurObjCLexicalContext()
H A DSema.cpp1977 Decl *C = cast<Decl>(getCurLexicalContext()); in checkTypeSupport()
H A DSemaDecl.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()
H A DSemaDeclObjC.cpp5102 SemaRef.getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
H A DTreeTransform.h6231 auto *RD = dyn_cast<CXXRecordDecl>(SemaRef.getCurLexicalContext()); in TransformFunctionProtoType()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp370 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, in ParseOpenMPDeclareReductionDirective()
637 getCurScope(), Actions.getCurLexicalContext(), MapperId, MapperType, in ParseOpenMPDeclareMapperDirective()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h807 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function