Add braces.
authorJay Foad <jay.foad@gmail.com>
Mon, 1 Aug 2011 12:48:54 +0000 (12:48 +0000)
committerJay Foad <jay.foad@gmail.com>
Mon, 1 Aug 2011 12:48:54 +0000 (12:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136612 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/AsmWriter.cpp

index de993eec69f94e3a13e4e8d6afc3f8def2fbbff0..7deba0d0382c0d4401de900aad5587bb3ca13c55 100644 (file)
@@ -1397,8 +1397,9 @@ void AssemblyWriter::printAlias(const GlobalAlias *GA) {
   if (Aliasee == 0) {
     TypePrinter.print(GA->getType(), Out);
     Out << " <<NULL ALIASEE>>";
-  } else
+  } else {
     writeOperand(Aliasee, !isa<ConstantExpr>(Aliasee));
+  }
 
   printInfoComment(*GA);
   Out << '\n';