Added an automatic cast to "std::ostream*" etc. from OStream. We then can
authorBill Wendling <isanbard@gmail.com>
Sun, 17 Dec 2006 05:15:13 +0000 (05:15 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 17 Dec 2006 05:15:13 +0000 (05:15 +0000)
commit5c7e326585f3a543388ba871c3425f7664cd9143
tree85de3d1ef8b725fb5db8a5e36c5d312da657cab6
parent89b0d995d26d9e70b9c8d7fab8b99f1e89ac11bb
Added an automatic cast to "std::ostream*" etc. from OStream. We then can
rework the hacks that had us passing OStream in. We pass in std::ostream*
instead, check for null, and then dispatch to the correct print() method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32636 91177308-0d34-0410-b5e6-96231b3b80d8
46 files changed:
include/llvm/ADT/BitSetVector.h
include/llvm/Analysis/AliasSetTracker.h
include/llvm/Analysis/CallGraph.h
include/llvm/Analysis/Dominators.h
include/llvm/Analysis/FindUsedTypes.h
include/llvm/Analysis/Interval.h
include/llvm/Analysis/IntervalPartition.h
include/llvm/Analysis/LoopInfo.h
include/llvm/Analysis/ScalarEvolution.h
include/llvm/Analysis/ScalarEvolutionExpressions.h
include/llvm/Analysis/Trace.h
include/llvm/Argument.h
include/llvm/BasicBlock.h
include/llvm/CodeGen/LinkAllCodegenComponents.h
include/llvm/CodeGen/LiveInterval.h
include/llvm/CodeGen/LiveIntervalAnalysis.h
include/llvm/CodeGen/MachineBasicBlock.h
include/llvm/CodeGen/MachineConstantPool.h
include/llvm/CodeGen/MachineFunction.h
include/llvm/CodeGen/MachineInstr.h
include/llvm/CodeGen/MachineJumpTableInfo.h
include/llvm/CodeGen/SchedGraphCommon.h
include/llvm/Constant.h
include/llvm/Function.h
include/llvm/GlobalVariable.h
include/llvm/InlineAsm.h
include/llvm/Instruction.h
include/llvm/Module.h
include/llvm/Pass.h
include/llvm/Support/ConstantRange.h
include/llvm/Support/Debug.h
include/llvm/Support/Streams.h
include/llvm/Target/SubtargetFeature.h
include/llvm/Type.h
include/llvm/Value.h
lib/Analysis/IPA/CallGraph.cpp
lib/Analysis/Trace.cpp
lib/Bytecode/Writer/Writer.cpp
lib/CodeGen/DwarfWriter.cpp
lib/CodeGen/LiveInterval.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
lib/CodeGen/VirtRegMap.cpp
lib/CodeGen/VirtRegMap.h
lib/Support/Debug.cpp
lib/Support/Streams.cpp
lib/Transforms/Utils/LowerSwitch.cpp