[LLVMdev] [PATCH] llvm-bcanalyzer: print percentages without scientific notation

Timo Juhani Lindfors timo.lindfors at iki.fi
Tue Sep 29 09:44:23 PDT 2009


Hi,

Andreas Neustifter <astifter-llvm at gmx.at> writes:
> Maybe you can use the already available "include/llvm/Support/Format.h"?

Thanks, that simplifies the patch a lot. See the attached patch.

Btw, llvm-bcanalyzer.cpp seems to also use fprintf -- does mixing it
with errs() cause problems and should it be converted to use format()?

best regards,
Timo Lindfors

-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-bcanalyzer-format-percentage2.patch
Type: text/x-diff
Size: 1422 bytes
Desc: llvm-bcanalyzer: print percentages without scientific	notation
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090929/644096a9/attachment.patch>


More information about the llvm-dev mailing list