diff options
author | Chris Lattner <sabre@nondot.org> | 2008-08-23 19:23:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-08-23 19:23:10 +0000 |
commit | 22b52c984a4005dfd27b230a434f9e9cfef13aa3 (patch) | |
tree | 9698581a616c291562149cd7a2df4f5e081df893 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 0fbd44699a8cf46d720b821a2f74cf5b4fa4bbc6 (diff) | |
download | bcm5719-llvm-22b52c984a4005dfd27b230a434f9e9cfef13aa3.tar.gz bcm5719-llvm-22b52c984a4005dfd27b230a434f9e9cfef13aa3.zip |
add a simple mechanism for formatted output. This gives raw_ostream's
all the power and risk of fprintf format strings. Use them like this:
OS << format("%10.4f", 42.0) << "\n" << format("%x", 42) << '\n';
llvm-svn: 55246
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions