summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-07-11 11:25:16 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-07-11 11:25:16 +0000
commit9c2e8ee72fe8c99a016a204a2f2b167cd17e188a (patch)
tree813773957814bc63d730a1a0476cb5fa60cf8d2f /clang/lib/CodeGen/CGStmt.cpp
parent83442bb8b2e5284276d3eb5a97457401ed61d3f7 (diff)
downloadbcm5719-llvm-9c2e8ee72fe8c99a016a204a2f2b167cd17e188a.tar.gz
bcm5719-llvm-9c2e8ee72fe8c99a016a204a2f2b167cd17e188a.zip
[OPENMP] Parsing and sema analysis for 'omp task' directive.
llvm-svn: 212804
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 b9d74b675a6..39adf9b7130 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -200,6 +200,9 @@ void CodeGenFunction::EmitStmt(const Stmt *S) {
case Stmt::OMPParallelSectionsDirectiveClass:
EmitOMPParallelSectionsDirective(cast<OMPParallelSectionsDirective>(*S));
break;
+ case Stmt::OMPTaskDirectiveClass:
+ EmitOMPTaskDirective(cast<OMPTaskDirective>(*S));
+ break;
}
}
OpenPOWER on IntegriCloud