Searched refs:getCurLexicalContext (Results 1 – 13 of 13) sorted by relevance
| /freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
| HD | SemaSYCL.cpp | 30 FunctionDecl *FD = dyn_cast<FunctionDecl>(SemaRef.getCurLexicalContext()); in DiagIfDeviceCode()
|
| HD | 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()
|
| HD | SemaStmtAsm.cpp | 261 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext()); in ActOnGCCAsmStmt()
|
| HD | SemaHLSL.cpp | 37 DeclContext *LexicalParent = SemaRef.getCurLexicalContext(); in ActOnStartBuffer()
|
| HD | SemaAvailability.cpp | 687 Decl *Ctx = cast<Decl>(S.getCurLexicalContext()); in EmitAvailabilityWarning()
|
| HD | 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 …]
|
| HD | SemaObjC.cpp | 1260 const DeclContext *DC = SemaRef.getCurLexicalContext(); in getCurObjCLexicalContext()
|
| HD | Sema.cpp | 1977 Decl *C = cast<Decl>(getCurLexicalContext()); in checkTypeSupport()
|
| HD | 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()
|
| HD | SemaDeclObjC.cpp | 5102 SemaRef.getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
|
| HD | TreeTransform.h | 6231 auto *RD = dyn_cast<CXXRecordDecl>(SemaRef.getCurLexicalContext()); in TransformFunctionProtoType()
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/ |
| HD | ParseOpenMP.cpp | 370 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/ |
| HD | Sema.h | 807 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function
|