summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-06-25 11:44:49 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-06-25 11:44:49 +0000
commitd3f8dd2d1595a626412202385461978c43eb049d (patch)
treee66eed96fa2181897866ce8a280637e3ca7d096a /clang/lib/CodeGen/CGStmt.cpp
parent0b2d93c4f0c39f1cedb7a2ed59f3102eb7875efa (diff)
downloadbcm5719-llvm-d3f8dd2d1595a626412202385461978c43eb049d.tar.gz
bcm5719-llvm-d3f8dd2d1595a626412202385461978c43eb049d.zip
[OPENMP] Initial support for 'sections' directive.
llvm-svn: 211685
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 e3d07dca642..cadfe399fa6 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -182,6 +182,9 @@ void CodeGenFunction::EmitStmt(const Stmt *S) {
case Stmt::OMPForDirectiveClass:
EmitOMPForDirective(cast<OMPForDirective>(*S));
break;
+ case Stmt::OMPSectionsDirectiveClass:
+ EmitOMPSectionsDirective(cast<OMPSectionsDirective>(*S));
+ break;
}
}
OpenPOWER on IntegriCloud