Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaSYCL.cpp25 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.cpp2755 SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate()
2777 return SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate()
2844 !getCurLexicalContext()->isTranslationUnit()) { in ActOnOpenMPIdExpression()
2859 !CanonicalVD->getDeclContext()->Equals(getCurLexicalContext())) { in ActOnOpenMPIdExpression()
2874 (!getCurLexicalContext()->isFileContext() || in ActOnOpenMPIdExpression()
2875 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) { in ActOnOpenMPIdExpression()
2889 !isDeclInScope(ND, getCurLexicalContext(), CurScope)) { in ActOnOpenMPIdExpression()
3031 D = OMPThreadPrivateDecl::Create(Context, getCurLexicalContext(), Loc, in CheckOMPThreadPrivateDecl()
3191 Owner = getCurLexicalContext(); in ActOnOpenMPAllocateDirective()
3304 return OMPRequiresDecl::Create(Context, getCurLexicalContext(), Loc, in CheckOMPRequiresDecl()
[all …]
DSema.cpp1859 Decl *C = cast<Decl>(getCurLexicalContext()); in checkDeviceDecl()
DSemaDecl.cpp14344 if (getCurLexicalContext()->isObjCContainer() && in ActOnStartOfFunctionDef()
14345 getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in ActOnStartOfFunctionDef()
14346 getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) in ActOnStartOfFunctionDef()
16565 if (getCurLexicalContext()->isObjCContainer() && in ActOnTagFinishDefinition()
DSemaDeclObjC.cpp5068 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
DSemaDeclAttr.cpp1917 if (S.LookupQualifiedName(LR, S.getCurLexicalContext())) in handleAliasAttr()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/
DParseOpenMP.cpp354 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, AS); in ParseOpenMPDeclareReductionDirective()
619 getCurScope(), Actions.getCurLexicalContext(), MapperId, MapperType, in ParseOpenMPDeclareMapperDirective()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Sema/
DSema.h12835 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function
12840 const DeclContext *DC = getCurLexicalContext(); in getCurObjCLexicalContext()