summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-07-22 10:10:35 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-07-22 10:10:35 +0000
commit0162e459efac896816898588f6bbcf1fae43df41 (patch)
tree57ff192fe3ebc50146104d8f26269f0646ff3e3b /clang/lib/CodeGen/CGStmt.cpp
parent9fb6e647e71678341e7a344051df439a1020aaf4 (diff)
downloadbcm5719-llvm-0162e459efac896816898588f6bbcf1fae43df41.tar.gz
bcm5719-llvm-0162e459efac896816898588f6bbcf1fae43df41.zip
[OPENMP] Initial parsing and sema analysis for 'atomic' directive.
llvm-svn: 213639
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 d34a69ec3de..fdeaaf6bb88 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -224,6 +224,9 @@ void CodeGenFunction::EmitStmt(const Stmt *S) {
case Stmt::OMPOrderedDirectiveClass:
EmitOMPOrderedDirective(cast<OMPOrderedDirective>(*S));
break;
+ case Stmt::OMPAtomicDirectiveClass:
+ EmitOMPAtomicDirective(cast<OMPAtomicDirective>(*S));
+ break;
}
}
OpenPOWER on IntegriCloud