From: Aaron Ballman Date: Mon, 9 Sep 2013 13:29:38 +0000 (+0000) Subject: Silencing an MSVC warning about an empty control statement (it dislikes ; but is... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5aad145958d233d05901cca2ae3c4975d4233d66;p=clang 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 1048c5ad7b..b1296936c2 100644 --- a/lib/Sema/SemaOpenMP.cpp +++ b/lib/Sema/SemaOpenMP.cpp @@ -531,9 +531,9 @@ public: 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