diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-06-18 04:14:57 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-06-18 04:14:57 +0000 |
commit | f29276edb7b9c85c9f521eb3e301259bee17aa33 (patch) | |
tree | 5173803cd839d4c3ab843cd43945471c7296784f /clang/lib/CodeGen/CGStmt.cpp | |
parent | 0039f3f0607702f2d16d60addff74c67869e2144 (diff) | |
download | bcm5719-llvm-f29276edb7b9c85c9f521eb3e301259bee17aa33.tar.gz bcm5719-llvm-f29276edb7b9c85c9f521eb3e301259bee17aa33.zip |
[OPENMP] Initial support for '#pragma omp for' (fixed incompatibility with MSVC).
llvm-svn: 211140
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGStmt.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp index 22373cddf30..e3d07dca642 100644 --- a/clang/lib/CodeGen/CGStmt.cpp +++ b/clang/lib/CodeGen/CGStmt.cpp @@ -179,6 +179,9 @@ void CodeGenFunction::EmitStmt(const Stmt *S) { case Stmt::OMPSimdDirectiveClass: EmitOMPSimdDirective(cast<OMPSimdDirective>(*S)); break; + case Stmt::OMPForDirectiveClass: + EmitOMPForDirective(cast<OMPForDirective>(*S)); + break; } } |