diff options
author | Matthias Braun <matze@braunis.de> | 2015-12-03 23:00:28 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2015-12-03 23:00:28 +0000 |
commit | 149b859c55d137fef9f68ecb4506c931d12189ac (patch) | |
tree | 14349579b18ba1566a56cfc00e2cbd9ecc6ae8de /llvm/lib/Support/raw_ostream.cpp | |
parent | bcd09fef72e54ac328ec75e940c8b24e28225b6c (diff) | |
download | llvm-149b859c55d137fef9f68ecb4506c931d12189ac.zip llvm-149b859c55d137fef9f68ecb4506c931d12189ac.tar.gz llvm-149b859c55d137fef9f68ecb4506c931d12189ac.tar.bz2 |
Revert "raw_ostream: << operator for callables with raw_stream argument"
This commit provoked "error C2593: 'operator <<' is ambiguous" on MSVC.
This reverts commit r254655.
llvm-svn: 254661
Diffstat (limited to 'llvm/lib/Support/raw_ostream.cpp')
-rw-r--r-- | llvm/lib/Support/raw_ostream.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Support/raw_ostream.cpp b/llvm/lib/Support/raw_ostream.cpp index 5b1dcec..49ef400 100644 --- a/llvm/lib/Support/raw_ostream.cpp +++ b/llvm/lib/Support/raw_ostream.cpp @@ -264,10 +264,6 @@ raw_ostream &raw_ostream::operator<<(double N) { return this->operator<<(format("%e", N)); } -raw_ostream &raw_ostream::operator<<(Printable P) { - P(*this); - return *this; -} void raw_ostream::flush_nonempty() { |