diff options
| author | Zachary Turner <zturner@google.com> | 2018-09-12 22:57:03 +0000 | 
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2018-09-12 22:57:03 +0000 | 
| commit | c43d55602fc99d8f048f1828f4a95dbadb2d6900 (patch) | |
| tree | 165d9efe229ac7308523d04eb3abd8c08b72145d /llvm/lib/DebugInfo/PDB/DIA/DIAEnumDebugStreams.cpp | |
| parent | aadfe4661d0ef95df53335e5fbeccad9e414a9a2 (diff) | |
| download | bcm5719-llvm-c43d55602fc99d8f048f1828f4a95dbadb2d6900.tar.gz bcm5719-llvm-c43d55602fc99d8f048f1828f4a95dbadb2d6900.zip  | |
[PDB] Remove all clone() methods.
These are dead code and encourage poor usage patterns, so I'm
removing them.  They weren't called anywhere anyway.
llvm-svn: 342093
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/DIA/DIAEnumDebugStreams.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/PDB/DIA/DIAEnumDebugStreams.cpp | 7 | 
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/DebugInfo/PDB/DIA/DIAEnumDebugStreams.cpp b/llvm/lib/DebugInfo/PDB/DIA/DIAEnumDebugStreams.cpp index f62c4991fe3..d2451f13e6c 100644 --- a/llvm/lib/DebugInfo/PDB/DIA/DIAEnumDebugStreams.cpp +++ b/llvm/lib/DebugInfo/PDB/DIA/DIAEnumDebugStreams.cpp @@ -45,10 +45,3 @@ std::unique_ptr<IPDBDataStream> DIAEnumDebugStreams::getNext() {  }  void DIAEnumDebugStreams::reset() { Enumerator->Reset(); } - -DIAEnumDebugStreams *DIAEnumDebugStreams::clone() const { -  CComPtr<IDiaEnumDebugStreams> EnumeratorClone; -  if (S_OK != Enumerator->Clone(&EnumeratorClone)) -    return nullptr; -  return new DIAEnumDebugStreams(EnumeratorClone); -}  | 

