Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaSYCL.cpp25 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext()); in SYCLDiagIfDeviceCode()
H A DSemaPseudoObject.cpp688 if (S.getCurLexicalContext()->isObjCContainer() && in DiagnoseUnsupportedPropertyUse()
689 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse()
690 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
H A DSemaAvailability.cpp571 Decl *Ctx = cast<Decl>(S.getCurLexicalContext()); in EmitAvailabilityWarning()
H A DSemaStmtAsm.cpp259 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext()); in ActOnGCCAsmStmt()
H A DSemaOpenMP.cpp2941 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 DSema.cpp1896 Decl *C = cast<Decl>(getCurLexicalContext()); in checkTypeSupport()
H A DSemaDecl.cpp14860 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 DSemaDeclObjC.cpp5076 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
H A DSemaDeclAttr.cpp2013 if (S.LookupQualifiedName(LR, S.getCurLexicalContext())) in handleAliasAttr()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseOpenMP.cpp365 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 DSema.h13376 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function
13381 const DeclContext *DC = getCurLexicalContext(); in getCurObjCLexicalContext()