Revert "[Support] Add raw_ostream_iterator: ostream_iterator for raw_ostream"
authorNicolas Guillemot <nguillemot@apple.com>
Thu, 4 Mar 2021 20:43:27 +0000 (12:43 -0800)
committerNicolas Guillemot <nguillemot@apple.com>
Thu, 4 Mar 2021 20:46:58 +0000 (12:46 -0800)
commit6b8cf7356c5a01ee487a610168c146994ff6cff8
tree3270e7771b1dcf7656879e256203a0a2cf10991c
parente897feeb8a6b85439f29ed88dadef5469eb910d7
Revert "[Support] Add raw_ostream_iterator: ostream_iterator for raw_ostream"

This reverts commit 7479a2e00bc41f399942e5106fbdf9b4b0c11506.

This commit causes compile errors on clang-x64-windows-msvc, so I'm
reverting the patch for now.

For reference, the error in question is:

```
error C2280: 'llvm::raw_ostream_iterator<char,char>
&llvm::raw_ostream_iterator<char,char>::operator =(const
llvm::raw_ostream_iterator<char,char> &)': attempting to reference a deleted
function

note: compiler has generated 'llvm::raw_ostream_iterator<char,char>::operator ='
here

note: 'llvm::raw_ostream_iterator<char,char>
&llvm::raw_ostream_iterator<char,char>::operator =(const
llvm::raw_ostream_iterator<char,char> &)': function was implicitly deleted
because 'llvm::raw_ostream_iterator<char,char>' has a data member
'llvm::raw_ostream_iterator<char,char>::OutStream' of reference type
```
llvm/include/llvm/Support/raw_ostream.h
llvm/unittests/Support/raw_ostream_test.cpp