aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/Format.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-08-23 19:23:10 +0000
committerChris Lattner <sabre@nondot.org>2008-08-23 19:23:10 +0000
commit097af7fc8f8688cc21453a5561347f14ca7c5771 (patch)
tree3278cf5420b9c3a9e07d8ccfd4afd8e7fb36a886 /include/llvm/Support/Format.h
parent8ff7ce3dd2c0b57283372e9ed939ab07018fec2f (diff)
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'; git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Format.h')
0 files changed, 0 insertions, 0 deletions