Define an operator<< for APInt to be used with std::ostream.
authorDan Gohman <gohman@apple.com>
Tue, 30 Jun 2009 01:28:08 +0000 (01:28 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 30 Jun 2009 01:28:08 +0000 (01:28 +0000)
commit670031666cf4dea0d122a0df2ec1d18822c225e4
tree31224654ef46fb6c5e3108fe5e6c920d38b1c64c
parent5001c21712f2e52fd6254461b2b2edb9a5823d23
Define an operator<< for APInt to be used with std::ostream.
This will allow it to be used in unittests that use gtest's
EXPECT_EQ.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74494 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APInt.h
lib/Support/APInt.cpp