OSDN Git Service

raw_ostream: << operator for callables with raw_ostream argument
authorMatthias Braun <matze@braunis.de>
Fri, 4 Dec 2015 01:31:59 +0000 (01:31 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 4 Dec 2015 01:31:59 +0000 (01:31 +0000)
commitae4aa8b8d233366d231a10dafae68d7287512927
tree84f531e114bea332e8eae0ed72aad8c55d12425b
parent2012083871b75ca032fefaec739ce1f280a8f3de
raw_ostream: << operator for callables with raw_ostream argument

This is a revised version of r254655 which uses a Printable wrapper
class to avoid ambiguous overload problems.

Differential Revision: http://reviews.llvm.org/D14348

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254681 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Printable.h [new file with mode: 0644]
include/llvm/Target/TargetRegisterInfo.h
lib/CodeGen/RegAllocPBQP.cpp
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
lib/CodeGen/TargetRegisterInfo.cpp