Searched refs:getCurLexicalContext (Results 1 – 11 of 11) sorted by relevance
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
| D | SemaSYCL.cpp | 25 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext()); in SYCLDiagIfDeviceCode()
|
| 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()
|
| D | SemaAvailability.cpp | 571 Decl *Ctx = cast<Decl>(S.getCurLexicalContext()); in EmitAvailabilityWarning()
|
| D | SemaStmtAsm.cpp | 259 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext()); in ActOnGCCAsmStmt()
|
| D | SemaOpenMP.cpp | 2755 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 …]
|
| D | Sema.cpp | 1859 Decl *C = cast<Decl>(getCurLexicalContext()); in checkDeviceDecl()
|
| D | SemaDecl.cpp | 14344 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()
|
| D | SemaDeclObjC.cpp | 5068 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
|
| D | SemaDeclAttr.cpp | 1917 if (S.LookupQualifiedName(LR, S.getCurLexicalContext())) in handleAliasAttr()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/ |
| D | ParseOpenMP.cpp | 354 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/ |
| D | Sema.h | 12835 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function 12840 const DeclContext *DC = getCurLexicalContext(); in getCurObjCLexicalContext()
|