Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaPseudoObject.cpp682 if (S.getCurLexicalContext()->isObjCContainer() && in DiagnoseUnsupportedPropertyUse()
683 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse()
684 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
DSemaOpenMP.cpp978 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()
DSemaDecl.cpp10953 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()
DSemaDeclObjC.cpp4361 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
DSemaDeclAttr.cpp5968 Decl *Ctx = cast<Decl>(getCurLexicalContext()); in EmitAvailabilityWarning()
/external/clang/include/clang/Sema/
DSema.h9197 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function
9204 const DeclContext *DC = getCurLexicalContext(); in getCurObjCLexicalContext()