Searched refs:getCurLexicalContext (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaPseudoObject.cpp | 683 if (S.getCurLexicalContext()->isObjCContainer() && in DiagnoseUnsupportedPropertyUse() 684 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse() 685 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
|
D | SemaOpenMP.cpp | 1126 SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate() 1142 return SemaRef.isDeclInScope(ND, SemaRef.getCurLexicalContext(), in ValidateCandidate() 1205 !getCurLexicalContext()->isTranslationUnit()) { in ActOnOpenMPIdExpression() 1220 !CanonicalVD->getDeclContext()->Equals(getCurLexicalContext())) { in ActOnOpenMPIdExpression() 1235 (!getCurLexicalContext()->isFileContext() || in ActOnOpenMPIdExpression() 1236 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) { in ActOnOpenMPIdExpression() 1250 !isDeclInScope(ND, getCurLexicalContext(), CurScope)) { in ActOnOpenMPIdExpression() 1390 D = OMPThreadPrivateDecl::Create(Context, getCurLexicalContext(), Loc, in CheckOMPThreadPrivateDecl() 11467 DeclContext *CurLexicalContext = getCurLexicalContext(); in ActOnStartOpenMPDeclareTargetDirective()
|
D | SemaDecl.cpp | 11359 if (getCurLexicalContext()->isObjCContainer() && in ActOnStartOfFunctionDef() 11360 getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in ActOnStartOfFunctionDef() 11361 getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) in ActOnStartOfFunctionDef() 13194 if (getCurLexicalContext()->isObjCContainer() && in ActOnTagFinishDefinition()
|
D | SemaDeclObjC.cpp | 4510 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
|
D | SemaDeclAttr.cpp | 6483 Decl *Ctx = cast<Decl>(getCurLexicalContext()); in EmitAvailabilityWarning()
|
/external/clang/lib/Parse/ |
D | ParseOpenMP.cpp | 283 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, AS); in ParseOpenMPDeclareReductionDirective()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 9572 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function 9579 const DeclContext *DC = getCurLexicalContext(); in getCurObjCLexicalContext()
|