summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-06-26 12:05:45 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-06-26 12:05:45 +0000
commitd1e40fbfe1c38f5778c739d1fc1b3bcf156ccb58 (patch)
tree30b273a3b64072c964ed33986d2de6362af8c7d8 /clang/lib/CodeGen/CGStmt.cpp
parentaee45418287cdcc1387c56e0c0d08990c322b45b (diff)
downloadbcm5719-llvm-d1e40fbfe1c38f5778c739d1fc1b3bcf156ccb58.tar.gz
bcm5719-llvm-d1e40fbfe1c38f5778c739d1fc1b3bcf156ccb58.zip
[OPENMP] Initial parsing and sema analysis for 'single' directive.
llvm-svn: 211774
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 c3ad8b369c2..8edee89e74d 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -188,6 +188,9 @@ void CodeGenFunction::EmitStmt(const Stmt *S) {
case Stmt::OMPSectionDirectiveClass:
EmitOMPSectionDirective(cast<OMPSectionDirective>(*S));
break;
+ case Stmt::OMPSingleDirectiveClass:
+ EmitOMPSingleDirective(cast<OMPSingleDirective>(*S));
+ break;
}
}
OpenPOWER on IntegriCloud