diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2006-10-26 06:17:40 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2006-10-26 06:17:40 +0000 |
| commit | c6b52da4583e77450a21596cfa83e4389b8e0d2b (patch) | |
| tree | fb4503b984a0a64758f30ca1140e3bc97c5bbb2e /llvm/lib/Target/CBackend/Writer.cpp | |
| parent | 7e80b0b31ef448877c60de9b3d518a2a79c0a8a7 (diff) | |
| download | bcm5719-llvm-c6b52da4583e77450a21596cfa83e4389b8e0d2b.tar.gz bcm5719-llvm-c6b52da4583e77450a21596cfa83e4389b8e0d2b.zip | |
Enclose a case in { and } so that the pickier compilers don't complain.
llvm-svn: 31196
Diffstat (limited to 'llvm/lib/Target/CBackend/Writer.cpp')
| -rw-r--r-- | llvm/lib/Target/CBackend/Writer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/CBackend/Writer.cpp b/llvm/lib/Target/CBackend/Writer.cpp index eb7b4e3813d..cef1ba621ac 100644 --- a/llvm/lib/Target/CBackend/Writer.cpp +++ b/llvm/lib/Target/CBackend/Writer.cpp @@ -605,6 +605,7 @@ void CWriter::printConstant(Constant *CPV) { case Instruction::SetGE: case Instruction::Shl: case Instruction::Shr: + { Out << '('; bool NeedsClosingParens = printConstExprCast(CE); printConstantWithCast(CE->getOperand(0), CE->getOpcode()); @@ -634,6 +635,7 @@ void CWriter::printConstant(Constant *CPV) { Out << "))"; Out << ')'; return; + } default: std::cerr << "CWriter Error: Unhandled constant expression: " |

