summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-07-18 07:47:19 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-07-18 07:47:19 +0000
commit68446b72530b7b8badf295a350de43265dbec06a (patch)
treea4c0e485fde8c4ef174df6e53e7f1cf9b4a8cfb9 /clang/lib/CodeGen/CGStmt.cpp
parent05c30880b6590bc7ca7ead689d2124994f795ffe (diff)
downloadbcm5719-llvm-68446b72530b7b8badf295a350de43265dbec06a.tar.gz
bcm5719-llvm-68446b72530b7b8badf295a350de43265dbec06a.zip
[OPENMP] Initial parsing and sema analysis of 'taskyield' directive.
llvm-svn: 213355
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r--clang/lib/CodeGen/CGStmt.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp
index 788fd067be5..3a8e71cc98c 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -206,6 +206,9 @@ void CodeGenFunction::EmitStmt(const Stmt *S) {
case Stmt::OMPTaskDirectiveClass:
EmitOMPTaskDirective(cast<OMPTaskDirective>(*S));
break;
+ case Stmt::OMPTaskyieldDirectiveClass:
+ EmitOMPTaskyieldDirective(cast<OMPTaskyieldDirective>(*S));
+ break;
}
}
OpenPOWER on IntegriCloud