diff options
author | Renato Golin <renato.golin@linaro.org> | 2014-10-08 09:06:45 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2014-10-08 09:06:45 +0000 |
commit | 9804fa5d482a8917274a4f35fdba345563fc7ff7 (patch) | |
tree | 06454c67b4df84324a39c70fa4ba7adb29495da1 /clang/lib/Basic/OpenMPKinds.cpp | |
parent | ecc177788fa7cd9487be8180a054480e144480cd (diff) | |
download | bcm5719-llvm-9804fa5d482a8917274a4f35fdba345563fc7ff7.tar.gz bcm5719-llvm-9804fa5d482a8917274a4f35fdba345563fc7ff7.zip |
Revert "[OPENMP] 'omp teams' directive basic support. Includes parsing and semantic analysis for 'omp teams' directive support from OpenMP 4.0. Adds additional analysis to 'omp target' directive with 'omp teams' directive."
This reverts commit r219197 because it broke ARM self-hosting buildbots with
segmentation fault errors in many tests.
llvm-svn: 219289
Diffstat (limited to 'clang/lib/Basic/OpenMPKinds.cpp')
-rw-r--r-- | clang/lib/Basic/OpenMPKinds.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/clang/lib/Basic/OpenMPKinds.cpp b/clang/lib/Basic/OpenMPKinds.cpp index 5b4ef282971..d4e07e876cf 100644 --- a/clang/lib/Basic/OpenMPKinds.cpp +++ b/clang/lib/Basic/OpenMPKinds.cpp @@ -314,16 +314,6 @@ bool clang::isAllowedClauseForDirective(OpenMPDirectiveKind DKind, break; } break; - case OMPD_teams: - switch (CKind) { -#define OPENMP_TEAMS_CLAUSE(Name) \ - case OMPC_##Name: \ - return true; -#include "clang/Basic/OpenMPKinds.def" - default: - break; - } - break; case OMPD_unknown: case OMPD_threadprivate: case OMPD_section: @@ -358,10 +348,6 @@ bool clang::isOpenMPParallelDirective(OpenMPDirectiveKind DKind) { DKind == OMPD_parallel_sections; // TODO add next directives. } -bool clang::isOpenMPTeamsDirective(OpenMPDirectiveKind DKind) { - return DKind == OMPD_teams; // TODO add next directives. -} - bool clang::isOpenMPSimdDirective(OpenMPDirectiveKind DKind) { return DKind == OMPD_simd || DKind == OMPD_for_simd || DKind == OMPD_parallel_for_simd; // TODO add next directives. |