Lines Matching refs:CurContext

936   DeclContext *DC = SemaRef.CurContext;  in buildVarDecl()
1611 if (!VDC->Encloses(CurContext)) in isOpenMPCapturedDecl()
1988 CurContext->addDecl(D); in ActOnOpenMPThreadprivateDirective()
2109 if (!CurContext->isFileContext()) { in ActOnOpenMPRequiresDirective()
2114 CurContext->addDecl(D); in ActOnOpenMPRequiresDirective()
2848 auto *CED = OMPCapturedExprDecl::Create(C, S.CurContext, Id, Ty, in buildCaptureDecl()
2852 S.CurContext->addHiddenDecl(CED); in buildCaptureDecl()
3364 if (AStmt && !CurContext->isDependentContext()) { in ActOnOpenMPExecutableDirective()
4235 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetInit()
4327 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetCond()
4358 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetIncRHS()
4436 if (dependent() || SemaRef.CurContext->isDependentContext()) in checkAndSetInc()
4446 if (SemaRef.CurContext->isDependentContext()) in tryBuildCapture()
4876 if (ISC.dependent() || SemaRef.CurContext->isDependentContext() || HasErrors) in checkOpenMPIterationSpace()
5183 if (SemaRef.CurContext->isDependentContext()) in checkOpenMPLoop()
5782 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPSimdDirective()
5785 if (!CurContext->isDependentContext()) { in ActOnOpenMPSimdDirective()
5821 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPForDirective()
5824 if (!CurContext->isDependentContext()) { in ActOnOpenMPForDirective()
5857 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPForSimdDirective()
5860 if (!CurContext->isDependentContext()) { in ActOnOpenMPForSimdDirective()
6059 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPParallelForDirective()
6062 if (!CurContext->isDependentContext()) { in ActOnOpenMPParallelForDirective()
6103 if (!CurContext->isDependentContext()) { in ActOnOpenMPParallelForSimdDirective()
6441 if (SemaRef.CurContext->isDependentContext()) in checkBinaryOperation()
6514 if (SemaRef.CurContext->isDependentContext()) in checkStatement()
6662 if (CurContext->isDependentContext()) in ActOnOpenMPAtomicDirective()
6724 if (CurContext->isDependentContext()) in ActOnOpenMPAtomicDirective()
6742 if (!CurContext->isDependentContext()) { in ActOnOpenMPAtomicDirective()
6797 if (CurContext->isDependentContext()) in ActOnOpenMPAtomicDirective()
6833 if (IsUpdateExprFound && !CurContext->isDependentContext()) { in ActOnOpenMPAtomicDirective()
6863 if (IsUpdateExprFound && !CurContext->isDependentContext()) { in ActOnOpenMPAtomicDirective()
6959 if (CurContext->isDependentContext()) in ActOnOpenMPAtomicDirective()
7099 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetParallelForDirective()
7102 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetParallelForDirective()
7385 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTaskLoopDirective()
7421 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTaskLoopSimdDirective()
7424 if (!CurContext->isDependentContext()) { in ActOnOpenMPTaskLoopSimdDirective()
7470 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPDistributeDirective()
7513 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPDistributeParallelForDirective()
7557 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPDistributeParallelForSimdDirective()
7560 if (!CurContext->isDependentContext()) { in ActOnOpenMPDistributeParallelForSimdDirective()
7613 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPDistributeSimdDirective()
7616 if (!CurContext->isDependentContext()) { in ActOnOpenMPDistributeSimdDirective()
7669 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetParallelForSimdDirective()
7672 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetParallelForSimdDirective()
7724 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetSimdDirective()
7727 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetSimdDirective()
7780 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTeamsDistributeDirective()
7828 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTeamsDistributeSimdDirective()
7831 if (!CurContext->isDependentContext()) { in ActOnOpenMPTeamsDistributeSimdDirective()
7890 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTeamsDistributeParallelForSimdDirective()
7893 if (!CurContext->isDependentContext()) { in ActOnOpenMPTeamsDistributeParallelForSimdDirective()
7952 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTeamsDistributeParallelForDirective()
8030 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetTeamsDistributeDirective()
8073 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetTeamsDistributeParallelForDirective()
8076 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetTeamsDistributeParallelForDirective()
8129 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetTeamsDistributeParallelForSimdDirective()
8133 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetTeamsDistributeParallelForSimdDirective()
8187 assert((CurContext->isDependentContext() || B.builtAll()) && in ActOnOpenMPTargetTeamsDistributeSimdDirective()
8190 if (!CurContext->isDependentContext()) { in ActOnOpenMPTargetTeamsDistributeSimdDirective()
8849 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPIfClause()
8966 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPNumThreadsClause()
9425 !CurContext->isDependentContext()) { in ActOnOpenMPScheduleClause()
9926 if (!VD && !CurContext->isDependentContext()) in ActOnOpenMPPrivateClause()
9929 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPPrivateClause()
10206 CurContext->addDecl(VDPrivate); in ActOnOpenMPFirstprivateClause()
10211 if (!VD && !CurContext->isDependentContext()) { in ActOnOpenMPFirstprivateClause()
10221 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPFirstprivateClause()
10356 if (!VD && !CurContext->isDependentContext()) { in ActOnOpenMPLastprivateClause()
10380 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPLastprivateClause()
10434 if (!VD && isOpenMPCapturedDecl(D) && !CurContext->isDependentContext()) in ActOnOpenMPSharedClause()
10437 Vars.push_back((VD || !Ref || CurContext->isDependentContext()) in ActOnOpenMPSharedClause()
10621 if (SemaRef.CurContext->isDependentContext() || Ty->isDependentType() || in buildDeclareReductionRef()
10955 if (S.CurContext->isDependentContext() && in actOnOMPReductionKindClause()
11069 if (S.CurContext->isDependentContext() && in actOnOMPReductionKindClause()
11409 if (!VD && !S.CurContext->isDependentContext()) { in actOnOMPReductionKindClause()
11624 if (!VD && !CurContext->isDependentContext()) { in ActOnOpenMPLinearClause()
11651 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPLinearClause()
12144 if (CurContext->isDependentContext()) { in ActOnOpenMPDependClause()
12194 if (!CurContext->isDependentContext() && in ActOnOpenMPDependClause()
12231 if (!CurContext->isDependentContext() && DepKind == OMPC_DEPEND_sink && in ActOnOpenMPDependClause()
12266 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPDeviceClause()
12285 if (FullCheck && !SemaRef.CurContext->isDependentContext() && in checkTypeMappable()
13259 CurContext = DRD; in ActOnOpenMPDeclareReductionCombinerStart()
13319 CurContext = DRD; in ActOnOpenMPDeclareReductionInitializerStart()
13407 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPNumTeamsClause()
13434 if (CaptureRegion != OMPD_unknown && !CurContext->isDependentContext()) { in ActOnOpenMPThreadLimitClause()
13545 !CurContext->isDependentContext()) { in ActOnOpenMPDistScheduleClause()
13806 CurContext->addDecl(VDPrivate); in ActOnOpenMPUseDevicePtrClause()