[llvm-commits] [llvm] r84348 - /llvm/trunk/lib/VMCore/Verifier.cpp
Nick Lewycky
nicholas at mxc.ca
Sat Oct 17 12:43:47 PDT 2009
Author: nicholas
Date: Sat Oct 17 14:43:45 2009
New Revision: 84348
URL: http://llvm.org/viewvc/llvm-project?rev=84348&view=rev
Log:
Emit newlines at the end of instructions too.
Modified:
llvm/trunk/lib/VMCore/Verifier.cpp
Modified: llvm/trunk/lib/VMCore/Verifier.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Verifier.cpp?rev=84348&r1=84347&r2=84348&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Verifier.cpp (original)
+++ llvm/trunk/lib/VMCore/Verifier.cpp Sat Oct 17 14:43:45 2009
@@ -339,10 +339,10 @@
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';
}
}
More information about the llvm-commits
mailing list