Searched refs:getCurLexicalContext (Results 1 – 6 of 6) sorted by relevance
682 if (S.getCurLexicalContext()->isObjCContainer() && in DiagnoseUnsupportedPropertyUse()683 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse()684 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
978 SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate()1040 !getCurLexicalContext()->isTranslationUnit()) { in ActOnOpenMPIdExpression()1055 !CanonicalVD->getDeclContext()->Equals(getCurLexicalContext())) { in ActOnOpenMPIdExpression()1070 (!getCurLexicalContext()->isFileContext() || in ActOnOpenMPIdExpression()1071 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) { in ActOnOpenMPIdExpression()1085 !isDeclInScope(ND, getCurLexicalContext(), CurScope)) { in ActOnOpenMPIdExpression()1219 D = OMPThreadPrivateDecl::Create(Context, getCurLexicalContext(), Loc, in CheckOMPThreadPrivateDecl()
10953 if (getCurLexicalContext()->isObjCContainer() && in ActOnStartOfFunctionDef()10954 getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in ActOnStartOfFunctionDef()10955 getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) in ActOnStartOfFunctionDef()12744 if (getCurLexicalContext()->isObjCContainer() && in ActOnTagFinishDefinition()
4361 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
5968 Decl *Ctx = cast<Decl>(getCurLexicalContext()); in EmitAvailabilityWarning()
9197 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function9204 const DeclContext *DC = getCurLexicalContext(); in getCurObjCLexicalContext()