From: Richard Trieu Date: Fri, 30 May 2014 03:15:17 +0000 (+0000) Subject: Remove use of comma operator. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c0f9121e715ac63df217711b719418da69b855d3;p=platform%2Fupstream%2Fllvm.git Remove use of comma operator. llvm-svn: 209871 --- diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index 6aa60c6..3133993 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp @@ -1078,8 +1078,11 @@ void ExtAddrMode::print(raw_ostream &OS) const { NeedPlus = true; } - if (BaseOffs) - OS << (NeedPlus ? " + " : "") << BaseOffs, NeedPlus = true; + if (BaseOffs) { + OS << (NeedPlus ? " + " : "") + << BaseOffs; + NeedPlus = true; + } if (BaseReg) { OS << (NeedPlus ? " + " : "")