Use the cast machinery to remove dummy uses of formatted_raw_ostream.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 9 Apr 2015 02:28:12 +0000 (02:28 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 9 Apr 2015 02:28:12 +0000 (02:28 +0000)
commit23295f613bd73f7899b3e1f4c433d7a518dd4297
tree87a875f58ea9a8f3b4e3b7abdc397b676cab2a33
parent271631a0afecebfb806e8d4d67407c919c4e1c0d
Use the cast machinery to remove dummy uses of formatted_raw_ostream.

If we know we are producing an object, we don't need to wrap the stream
in a formatted_raw_ostream anymore.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234461 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetMachine.h
lib/CodeGen/LLVMTargetMachine.cpp
lib/LTO/LTOCodeGenerator.cpp
lib/Target/CppBackend/CPPBackend.cpp
lib/Target/CppBackend/CPPTargetMachine.h
lib/Target/TargetMachineC.cpp
tools/gold/gold-plugin.cpp