Searched refs:getCurLexicalContext (Results 1 – 6 of 6) sorted by relevance
650 if (S.getCurLexicalContext()->isObjCContainer() && in DiagnoseUnsupportedPropertyUse()651 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse()652 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
648 SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate()710 !getCurLexicalContext()->isTranslationUnit()) { in ActOnOpenMPIdExpression()725 !CanonicalVD->getDeclContext()->Equals(getCurLexicalContext())) { in ActOnOpenMPIdExpression()740 (!getCurLexicalContext()->isFileContext() || in ActOnOpenMPIdExpression()741 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) { in ActOnOpenMPIdExpression()755 !isDeclInScope(ND, getCurLexicalContext(), CurScope)) { in ActOnOpenMPIdExpression()884 D = OMPThreadPrivateDecl::Create(Context, getCurLexicalContext(), Loc, in CheckOMPThreadPrivateDecl()
10467 if (getCurLexicalContext()->isObjCContainer() && in ActOnStartOfFunctionDef()10468 getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in ActOnStartOfFunctionDef()10469 getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) in ActOnStartOfFunctionDef()12162 if (getCurLexicalContext()->isObjCContainer() && in ActOnTagFinishDefinition()
3331 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
5318 Decl *Ctx = cast<Decl>(getCurLexicalContext()); in EmitAvailabilityWarning()
8652 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function8659 const DeclContext *DC = getCurLexicalContext(); in getCurObjCLexicalContext()