summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-06-26 08:21:58 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-06-26 08:21:58 +0000
commit1e0498a92d6e09d01c791a7f32299de6c8e02cac (patch)
tree80b5da2548f93a8a8f193b07da7851a496adb24d /clang/lib/CodeGen/CGStmt.cpp
parent07910d6ab548e7a57717af7e28d994cd652fd75d (diff)
downloadbcm5719-llvm-1e0498a92d6e09d01c791a7f32299de6c8e02cac.tar.gz
bcm5719-llvm-1e0498a92d6e09d01c791a7f32299de6c8e02cac.zip
[OPENMP] Initial parsing and sema analysis for 'section' directive.
llvm-svn: 211767
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 3e49733a9c7..c3ad8b369c2 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -185,6 +185,9 @@ void CodeGenFunction::EmitStmt(const Stmt *S) {
case Stmt::OMPSectionsDirectiveClass:
EmitOMPSectionsDirective(cast<OMPSectionsDirective>(*S));
break;
+ case Stmt::OMPSectionDirectiveClass:
+ EmitOMPSectionDirective(cast<OMPSectionDirective>(*S));
+ break;
}
}
OpenPOWER on IntegriCloud