Searched refs:getCurLexicalContext (Results 1 – 11 of 11) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaSYCL.cpp | 25 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext()); in SYCLDiagIfDeviceCode()
|
| H A D | SemaPseudoObject.cpp | 688 if (S.getCurLexicalContext()->isObjCContainer() && in DiagnoseUnsupportedPropertyUse() 689 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse() 690 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
|
| H A D | SemaAvailability.cpp | 571 Decl *Ctx = cast<Decl>(S.getCurLexicalContext()); in EmitAvailabilityWarning()
|
| H A D | SemaStmtAsm.cpp | 259 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext()); in ActOnGCCAsmStmt()
|
| H A D | SemaOpenMP.cpp | 2941 SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate() 2962 return SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate() 3029 !getCurLexicalContext()->isTranslationUnit()) { in ActOnOpenMPIdExpression() 3044 !CanonicalVD->getDeclContext()->Equals(getCurLexicalContext())) { in ActOnOpenMPIdExpression() 3059 (!getCurLexicalContext()->isFileContext() || in ActOnOpenMPIdExpression() 3060 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) { in ActOnOpenMPIdExpression() 3074 !isDeclInScope(ND, getCurLexicalContext(), CurScope)) { in ActOnOpenMPIdExpression() 3216 D = OMPThreadPrivateDecl::Create(Context, getCurLexicalContext(), Loc, in CheckOMPThreadPrivateDecl() 3390 Owner = getCurLexicalContext(); in ActOnOpenMPAllocateDirective() 3502 return OMPRequiresDecl::Create(Context, getCurLexicalContext(), Loc, in CheckOMPRequiresDecl() [all …]
|
| H A D | Sema.cpp | 1896 Decl *C = cast<Decl>(getCurLexicalContext()); in checkTypeSupport()
|
| H A D | SemaDecl.cpp | 14860 if (getCurLexicalContext()->isObjCContainer() && in ActOnStartOfFunctionDef() 14861 getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in ActOnStartOfFunctionDef() 14862 getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) in ActOnStartOfFunctionDef() 17205 if (getCurLexicalContext()->isObjCContainer() && in ActOnTagFinishDefinition()
|
| H A D | SemaDeclObjC.cpp | 5076 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
|
| H A D | SemaDeclAttr.cpp | 2013 if (S.LookupQualifiedName(LR, S.getCurLexicalContext())) in handleAliasAttr()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseOpenMP.cpp | 365 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, AS); in ParseOpenMPDeclareReductionDirective() 630 getCurScope(), Actions.getCurLexicalContext(), MapperId, MapperType, in ParseOpenMPDeclareMapperDirective()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 13376 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function 13381 const DeclContext *DC = getCurLexicalContext(); in getCurObjCLexicalContext()
|