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)
commit132381f9811190993b389e5171d30a1e2cd07f61
tree5b314164eafbcd5c0dd64915559a183107d3f6e4
parent0a261a3dda4e3198ff9e23f27fe50f3d34fe1c8b
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.

llvm-svn: 234461
llvm/include/llvm/Target/TargetMachine.h
llvm/lib/CodeGen/LLVMTargetMachine.cpp
llvm/lib/LTO/LTOCodeGenerator.cpp
llvm/lib/Target/CppBackend/CPPBackend.cpp
llvm/lib/Target/CppBackend/CPPTargetMachine.h
llvm/lib/Target/TargetMachineC.cpp
llvm/tools/gold/gold-plugin.cpp