Emit newlines at the end of instructions too.
authorNick Lewycky <nicholas@mxc.ca>
Sat, 17 Oct 2009 19:43:45 +0000 (19:43 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 17 Oct 2009 19:43:45 +0000 (19:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84348 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Verifier.cpp

index 75ea4c3e2f28f4fa97af37c5de175626d3c63633..3bfd47c67c34206a2f06640c4dc75b43a34d9271 100644 (file)
@@ -339,10 +339,10 @@ namespace {
     void WriteValue(const Value *V) {
       if (!V) return;
       if (isa<Instruction>(V)) {
-        MessagesStr << *V;
+        MessagesStr << *V << '\n';
       } else {
         WriteAsOperand(MessagesStr, V, true, Mod);
-        MessagesStr << "\n";
+        MessagesStr << '\n';
       }
     }