llvm-project/llvm/lib/Target/CppBackend
Rafael Espindola 5682ce2ceb Simplify use of formatted_raw_ostream.
formatted_raw_ostream is a wrapper over another stream to add column and line
number tracking.

It is used only for asm printing.

This patch moves the its creation down to where we know we are printing
assembly. This has the following advantages:

* Simpler lifetime management: std::unique_ptr
* We don't compute column and line number of object files :-)

llvm-svn: 234535
2015-04-09 21:06:08 +00:00
..
TargetInfo Fix pr18235. 2013-12-13 16:05:32 +00:00
CMakeLists.txt
CPPBackend.cpp Simplify use of formatted_raw_ostream. 2015-04-09 21:06:08 +00:00
CPPTargetMachine.h Simplify use of formatted_raw_ostream. 2015-04-09 21:06:08 +00:00
LLVMBuild.txt
Makefile