summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-12-09 04:35:57 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-12-09 04:35:57 +0000
commit2d5c6ddf74296d38d0f194420be159687568026e (patch)
tree4ee6bbdb6860a8688c516db544ceadebcadbbf30 /clang/lib/CodeGen/CGStmt.cpp
parent12f79291771d6f4d2941afbee3028dc8ad2e232d (diff)
downloadbcm5719-llvm-2d5c6ddf74296d38d0f194420be159687568026e.tar.gz
bcm5719-llvm-2d5c6ddf74296d38d0f194420be159687568026e.zip
Revert r255001, "Add parse and sema for OpenMP distribute directive and all its clauses excluding dist_schedule."
It causes memory leak. Some tests in test/OpenMP would fail. llvm-svn: 255094
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r--clang/lib/CodeGen/CGStmt.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp
index a91feac645d..1cbdeffd7c4 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -262,9 +262,6 @@ void CodeGenFunction::EmitStmt(const Stmt *S) {
case Stmt::OMPTaskLoopSimdDirectiveClass:
EmitOMPTaskLoopSimdDirective(cast<OMPTaskLoopSimdDirective>(*S));
break;
-case Stmt::OMPDistributeDirectiveClass:
- EmitOMPDistributeDirective(cast<OMPDistributeDirective>(*S));
- break;
}
}
OpenPOWER on IntegriCloud