summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCarlo Bertolli <cbertol@us.ibm.com>2016-06-24 19:20:02 +0000
committerCarlo Bertolli <cbertol@us.ibm.com>2016-06-24 19:20:02 +0000
commit912e4df3f84136016be5ee6a504ae3587f478426 (patch)
tree129814ce1edfb3adff3bee688dc42629af8dae1a /tools
parent396e7147d3c07d993f73a3001cc9f16fa5a4fd2d (diff)
Revert r273705
[OpenMP] Initial implementation of parse and sema for composite pragma 'distribute parallel for' git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@273709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/libclang/CIndex.cpp9
-rw-r--r--tools/libclang/CXCursor.cpp3
2 files changed, 0 insertions, 12 deletions
diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp
index 43d8edc3fe..a0bb7d52cb 100644
--- a/tools/libclang/CIndex.cpp
+++ b/tools/libclang/CIndex.cpp
@@ -1959,8 +1959,6 @@ public:
void VisitOMPTaskLoopDirective(const OMPTaskLoopDirective *D);
void VisitOMPTaskLoopSimdDirective(const OMPTaskLoopSimdDirective *D);
void VisitOMPDistributeDirective(const OMPDistributeDirective *D);
- void VisitOMPDistributeParallelForDirective(
- const OMPDistributeParallelForDirective *D);
private:
void AddDeclarationNameInfo(const Stmt *S);
@@ -2714,11 +2712,6 @@ void EnqueueVisitor::VisitOMPDistributeDirective(
VisitOMPLoopDirective(D);
}
-void EnqueueVisitor::VisitOMPDistributeParallelForDirective(
- const OMPDistributeParallelForDirective *D) {
- VisitOMPLoopDirective(D);
-}
-
void CursorVisitor::EnqueueWorkList(VisitorWorkList &WL, const Stmt *S) {
EnqueueVisitor(WL, MakeCXCursor(S, StmtParent, TU,RegionOfInterest)).Visit(S);
}
@@ -4832,8 +4825,6 @@ CXString clang_getCursorKindSpelling(enum CXCursorKind Kind) {
return cxstring::createRef("OMPTaskLoopSimdDirective");
case CXCursor_OMPDistributeDirective:
return cxstring::createRef("OMPDistributeDirective");
- case CXCursor_OMPDistributeParallelForDirective:
- return cxstring::createRef("OMPDistributeParallelForDirective");
case CXCursor_OverloadCandidate:
return cxstring::createRef("OverloadCandidate");
case CXCursor_TypeAliasTemplateDecl:
diff --git a/tools/libclang/CXCursor.cpp b/tools/libclang/CXCursor.cpp
index 28f37d8959..075ff291d1 100644
--- a/tools/libclang/CXCursor.cpp
+++ b/tools/libclang/CXCursor.cpp
@@ -633,9 +633,6 @@ CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent,
case Stmt::OMPDistributeDirectiveClass:
K = CXCursor_OMPDistributeDirective;
break;
- case Stmt::OMPDistributeParallelForDirectiveClass:
- K = CXCursor_OMPDistributeParallelForDirective;
- break;
}
CXCursor C = { K, 0, { Parent, S, TU } };