Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaPseudoObject.cpp683 if (S.getCurLexicalContext()->isObjCContainer() && in DiagnoseUnsupportedPropertyUse()
684 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse()
685 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
DSemaOpenMP.cpp1126 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()
DSemaDecl.cpp11359 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()
DSemaDeclObjC.cpp4510 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
DSemaDeclAttr.cpp6483 Decl *Ctx = cast<Decl>(getCurLexicalContext()); in EmitAvailabilityWarning()
/external/clang/lib/Parse/
DParseOpenMP.cpp283 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, AS); in ParseOpenMPDeclareReductionDirective()
/external/clang/include/clang/Sema/
DSema.h9572 DeclContext *getCurLexicalContext() const { in getCurLexicalContext() function
9579 const DeclContext *DC = getCurLexicalContext(); in getCurObjCLexicalContext()