Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaPseudoObject.cpp650 if (S.getCurLexicalContext()->isObjCContainer() && in DiagnoseUnsupportedPropertyUse()
651 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse()
652 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
DSemaOpenMP.cpp648 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()
DSemaDecl.cpp10467 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()
DSemaDeclObjC.cpp3331 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
DSemaDeclAttr.cpp5318 Decl *Ctx = cast<Decl>(getCurLexicalContext()); in EmitAvailabilityWarning()
/external/clang/include/clang/Sema/
DSema.h8652 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function
8659 const DeclContext *DC = getCurLexicalContext(); in getCurObjCLexicalContext()