[llvm] r293691 - [Support] Add newline when dumping an APInt.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 31 13:26:19 PST 2017
Author: davide
Date: Tue Jan 31 15:26:18 2017
New Revision: 293691
URL: http://llvm.org/viewvc/llvm-project?rev=293691&view=rev
Log:
[Support] Add newline when dumping an APInt.
This annoyed me a few times but was lazy so I haven't fixed it
until today, when the output of my debugger was too confusing.
Modified:
llvm/trunk/lib/Support/APInt.cpp
Modified: llvm/trunk/lib/Support/APInt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/APInt.cpp?rev=293691&r1=293690&r2=293691&view=diff
==============================================================================
--- llvm/trunk/lib/Support/APInt.cpp (original)
+++ llvm/trunk/lib/Support/APInt.cpp Tue Jan 31 15:26:18 2017
@@ -2247,7 +2247,7 @@ LLVM_DUMP_METHOD void APInt::dump() cons
this->toStringUnsigned(U);
this->toStringSigned(S);
dbgs() << "APInt(" << BitWidth << "b, "
- << U << "u " << S << "s)";
+ << U << "u " << S << "s)\n";
}
#endif
More information about the llvm-commits
mailing list