Searched refs:CurLexicalContext (Results 1 – 1 of 1) sorted by relevance
22073 DeclContext *CurLexicalContext = SemaRef.getCurLexicalContext(); in ActOnStartOpenMPDeclareTargetContext() local22074 if (!CurLexicalContext->isFileContext() && in ActOnStartOpenMPDeclareTargetContext()22075 !CurLexicalContext->isExternCContext() && in ActOnStartOpenMPDeclareTargetContext()22076 !CurLexicalContext->isExternCXXContext() && in ActOnStartOpenMPDeclareTargetContext()22077 !isa<CXXRecordDecl>(CurLexicalContext) && in ActOnStartOpenMPDeclareTargetContext()22078 !isa<ClassTemplateDecl>(CurLexicalContext) && in ActOnStartOpenMPDeclareTargetContext()22079 !isa<ClassTemplatePartialSpecializationDecl>(CurLexicalContext) && in ActOnStartOpenMPDeclareTargetContext()22080 !isa<ClassTemplateSpecializationDecl>(CurLexicalContext)) { in ActOnStartOpenMPDeclareTargetContext()