Silencing an MSVC warning about an empty control statement (it dislikes ; but is fine with {}).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190305 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaOpenMP.cpp b/lib/Sema/SemaOpenMP.cpp
index 1048c5a..b129693 100644
--- a/lib/Sema/SemaOpenMP.cpp
+++ b/lib/Sema/SemaOpenMP.cpp
@@ -531,9 +531,9 @@
DSAStackTy::DSAVarData DVar = Stack->getTopDSA(VD);
if (DVar.CKind != OMPC_unknown) {
if (DKind == OMPD_task && DVar.CKind != OMPC_shared &&
- DVar.CKind != OMPC_threadprivate && !DVar.RefExpr)
+ DVar.CKind != OMPC_threadprivate && !DVar.RefExpr) {
// TODO: should be marked as firstprivate.
- ;
+ }
return;
}
// The default(none) clause requires that each variable that is referenced