Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Sema/
DSemaSYCL.cpp24 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext()); in SYCLDiagIfDeviceCode()
DSemaPseudoObject.cpp688 if (S.getCurLexicalContext()->isObjCContainer() && in DiagnoseUnsupportedPropertyUse()
689 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse()
690 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
DSemaAvailability.cpp571 Decl *Ctx = cast<Decl>(S.getCurLexicalContext()); in EmitAvailabilityWarning()
DSemaStmtAsm.cpp259 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext()); in ActOnGCCAsmStmt()
DSemaOpenMP.cpp2739 SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate()
2761 return SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate()
2828 !getCurLexicalContext()->isTranslationUnit()) { in ActOnOpenMPIdExpression()
2843 !CanonicalVD->getDeclContext()->Equals(getCurLexicalContext())) { in ActOnOpenMPIdExpression()
2858 (!getCurLexicalContext()->isFileContext() || in ActOnOpenMPIdExpression()
2859 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) { in ActOnOpenMPIdExpression()
2873 !isDeclInScope(ND, getCurLexicalContext(), CurScope)) { in ActOnOpenMPIdExpression()
3015 D = OMPThreadPrivateDecl::Create(Context, getCurLexicalContext(), Loc, in CheckOMPThreadPrivateDecl()
3175 Owner = getCurLexicalContext(); in ActOnOpenMPAllocateDirective()
3230 return OMPRequiresDecl::Create(Context, getCurLexicalContext(), Loc, in CheckOMPRequiresDecl()
[all …]
DSema.cpp1770 Decl *C = cast<Decl>(getCurLexicalContext()); in checkDeviceDecl()
DSemaDecl.cpp14157 if (getCurLexicalContext()->isObjCContainer() && in ActOnStartOfFunctionDef()
14158 getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in ActOnStartOfFunctionDef()
14159 getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) in ActOnStartOfFunctionDef()
16374 if (getCurLexicalContext()->isObjCContainer() && in ActOnTagFinishDefinition()
DSemaDeclObjC.cpp5063 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
DSemaDeclAttr.cpp1897 if (S.LookupQualifiedName(LR, S.getCurLexicalContext())) in handleAliasAttr()
/external/clang/lib/Sema/
DSemaPseudoObject.cpp683 if (S.getCurLexicalContext()->isObjCContainer() && in DiagnoseUnsupportedPropertyUse()
684 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse()
685 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
DSemaOpenMP.cpp1126 SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate()
1142 return SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate()
1205 !getCurLexicalContext()->isTranslationUnit()) { in ActOnOpenMPIdExpression()
1220 !CanonicalVD->getDeclContext()->Equals(getCurLexicalContext())) { in ActOnOpenMPIdExpression()
1235 (!getCurLexicalContext()->isFileContext() || in ActOnOpenMPIdExpression()
1236 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) { in ActOnOpenMPIdExpression()
1250 !isDeclInScope(ND, getCurLexicalContext(), CurScope)) { in ActOnOpenMPIdExpression()
1390 D = OMPThreadPrivateDecl::Create(Context, getCurLexicalContext(), Loc, in CheckOMPThreadPrivateDecl()
11467 DeclContext *CurLexicalContext = getCurLexicalContext(); in ActOnStartOpenMPDeclareTargetDirective()
DSemaDecl.cpp11359 if (getCurLexicalContext()->isObjCContainer() && in ActOnStartOfFunctionDef()
11360 getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in ActOnStartOfFunctionDef()
11361 getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) in ActOnStartOfFunctionDef()
13194 if (getCurLexicalContext()->isObjCContainer() && in ActOnTagFinishDefinition()
DSemaDeclObjC.cpp4510 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
DSemaDeclAttr.cpp6483 Decl *Ctx = cast<Decl>(getCurLexicalContext()); in EmitAvailabilityWarning()
/external/clang/lib/Parse/
DParseOpenMP.cpp283 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, AS); in ParseOpenMPDeclareReductionDirective()
/external/llvm-project/clang/lib/Parse/
DParseOpenMP.cpp344 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, AS); in ParseOpenMPDeclareReductionDirective()
609 getCurScope(), Actions.getCurLexicalContext(), MapperId, MapperType, in ParseOpenMPDeclareMapperDirective()
/external/clang/include/clang/Sema/
DSema.h9572 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function
9579 const DeclContext *DC = getCurLexicalContext(); in getCurObjCLexicalContext()
/external/llvm-project/clang/include/clang/Sema/
DSema.h12499 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function
12504 const DeclContext *DC = getCurLexicalContext(); in getCurObjCLexicalContext()