reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaOpenMP.cpp
 3775     OpenMPDirectiveKind OffendingRegion = ParentRegion;
 3786     if (isOpenMPSimdDirective(ParentRegion) && CurrentRegion != OMPD_ordered) {
 3800     if (ParentRegion == OMPD_atomic) {
 3811       if (ParentRegion != OMPD_sections &&
 3812           ParentRegion != OMPD_parallel_sections) {
 3814             << (ParentRegion != OMPD_unknown)
 3815             << getOpenMPDirectiveName(ParentRegion);
 3823     if (ParentRegion == OMPD_unknown &&
 3843              (ParentRegion == OMPD_parallel ||
 3844               ParentRegion == OMPD_target_parallel)) ||
 3846              (ParentRegion == OMPD_for || ParentRegion == OMPD_parallel_for ||
 3846              (ParentRegion == OMPD_for || ParentRegion == OMPD_parallel_for ||
 3847               ParentRegion == OMPD_target_parallel_for ||
 3848               ParentRegion == OMPD_distribute_parallel_for ||
 3849               ParentRegion == OMPD_teams_distribute_parallel_for ||
 3850               ParentRegion == OMPD_target_teams_distribute_parallel_for)) ||
 3851             (CancelRegion == OMPD_taskgroup && ParentRegion == OMPD_task) ||
 3853              (ParentRegion == OMPD_section || ParentRegion == OMPD_sections ||
 3853              (ParentRegion == OMPD_section || ParentRegion == OMPD_sections ||
 3854               ParentRegion == OMPD_parallel_sections)));
 3855       OrphanSeen = ParentRegion == OMPD_unknown;
 3860       NestingProhibited = isOpenMPWorksharingDirective(ParentRegion) ||
 3861                           isOpenMPTaskingDirective(ParentRegion);
 3892       NestingProhibited = isOpenMPWorksharingDirective(ParentRegion) ||
 3893                           isOpenMPTaskingDirective(ParentRegion) ||
 3894                           ParentRegion == OMPD_master ||
 3895                           ParentRegion == OMPD_critical ||
 3896                           ParentRegion == OMPD_ordered;
 3903       NestingProhibited = isOpenMPWorksharingDirective(ParentRegion) ||
 3904                           isOpenMPTaskingDirective(ParentRegion) ||
 3905                           ParentRegion == OMPD_master ||
 3906                           ParentRegion == OMPD_critical ||
 3907                           ParentRegion == OMPD_ordered;
 3918       NestingProhibited = ParentRegion == OMPD_critical ||
 3919                           isOpenMPTaskingDirective(ParentRegion) ||
 3920                           !(isOpenMPSimdDirective(ParentRegion) ||
 3928           (SemaRef.LangOpts.OpenMP <= 45 && ParentRegion != OMPD_target) ||
 3929           (SemaRef.LangOpts.OpenMP >= 50 && ParentRegion != OMPD_unknown &&
 3930            ParentRegion != OMPD_target);
 3931       OrphanSeen = ParentRegion == OMPD_unknown;
 3937         (ParentRegion == OMPD_teams || ParentRegion == OMPD_target_teams)) {
 3937         (ParentRegion == OMPD_teams || ParentRegion == OMPD_target_teams)) {
 3952           (ParentRegion != OMPD_teams && ParentRegion != OMPD_target_teams);
 3952           (ParentRegion != OMPD_teams && ParentRegion != OMPD_target_teams);