summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorAlexander Musman <alexander.musman@gmail.com>2014-07-21 09:42:05 +0000
committerAlexander Musman <alexander.musman@gmail.com>2014-07-21 09:42:05 +0000
commitd9ed09f7a5f149ea3ed7904f83ed70bf12963842 (patch)
treeb4efe1d3d62612141434996c2c6d7db1fe730d27 /clang/lib/CodeGen/CGStmt.cpp
parentddf36dea135db24d073acd8dbc1251dc798624bb (diff)
downloadbcm5719-llvm-d9ed09f7a5f149ea3ed7904f83ed70bf12963842.tar.gz
bcm5719-llvm-d9ed09f7a5f149ea3ed7904f83ed70bf12963842.zip
[OPENMP] Parsing/Sema of the OpenMP directive 'critical'.
llvm-svn: 213510
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 cd970c747c0..82566382dbc 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -197,6 +197,9 @@ void CodeGenFunction::EmitStmt(const Stmt *S) {
case Stmt::OMPMasterDirectiveClass:
EmitOMPMasterDirective(cast<OMPMasterDirective>(*S));
break;
+ case Stmt::OMPCriticalDirectiveClass:
+ EmitOMPCriticalDirective(cast<OMPCriticalDirective>(*S));
+ break;
case Stmt::OMPParallelForDirectiveClass:
EmitOMPParallelForDirective(cast<OMPParallelForDirective>(*S));
break;
OpenPOWER on IntegriCloud