Add line tracking support to FormattedStream
authorDaniel Malea <daniel.malea@intel.com>
Wed, 8 May 2013 20:29:10 +0000 (20:29 +0000)
committerDaniel Malea <daniel.malea@intel.com>
Wed, 8 May 2013 20:29:10 +0000 (20:29 +0000)
commitf28e3c501e033f103405c03a4bbf848cb6e67a2a
tree23bf3846cd345be515c1cc3602909bc9db111b6e
parentb637b9f89e88e8c1ffe147634c1b2b297fb6edeb
Add line tracking support to FormattedStream
- previously formatted_raw_ostream tracked columns, now it tracks lines too
- used by (upcoming) DebugIR pass to know the line number to connect to each IR
  instruction

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181463 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/FormattedStream.h
lib/Support/FormattedStream.cpp