Searched refs:getCurLexicalContext (Results 1 – 13 of 13) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaSYCL.cpp | 30 FunctionDecl *FD = dyn_cast<FunctionDecl>(SemaRef.getCurLexicalContext()); in DiagIfDeviceCode()
|
H A D | SemaPseudoObject.cpp | 697 if (S.getCurLexicalContext()->isObjCContainer() && in DiagnoseUnsupportedPropertyUse() 698 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse() 699 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
|
H A D | SemaStmtAsm.cpp | 261 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext()); in ActOnGCCAsmStmt()
|
H A D | SemaHLSL.cpp | 37 DeclContext *LexicalParent = SemaRef.getCurLexicalContext(); in ActOnStartBuffer()
|
H A D | SemaAvailability.cpp | 687 Decl *Ctx = cast<Decl>(S.getCurLexicalContext()); in EmitAvailabilityWarning()
|
H A D | SemaOpenMP.cpp | 3050 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 D | SemaObjC.cpp | 1260 const DeclContext *DC = SemaRef.getCurLexicalContext(); in getCurObjCLexicalContext()
|
H A D | Sema.cpp | 1977 Decl *C = cast<Decl>(getCurLexicalContext()); in checkTypeSupport()
|
H A D | SemaDecl.cpp | 15629 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 D | SemaDeclObjC.cpp | 5102 SemaRef.getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
|
H A D | TreeTransform.h | 6231 auto *RD = dyn_cast<CXXRecordDecl>(SemaRef.getCurLexicalContext()); in TransformFunctionProtoType()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseOpenMP.cpp | 370 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 D | Sema.h | 807 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function
|