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/DIAEnumInjectedSources.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/DIAEnumInjectedSources.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/PDB/DIA/DIAEnumInjectedSources.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/DebugInfo/PDB/DIA/DIAEnumInjectedSources.cpp b/llvm/lib/DebugInfo/PDB/DIA/DIAEnumInjectedSources.cpp index d7c908e0459..f90de3483ec 100644 --- a/llvm/lib/DebugInfo/PDB/DIA/DIAEnumInjectedSources.cpp +++ b/llvm/lib/DebugInfo/PDB/DIA/DIAEnumInjectedSources.cpp @@ -43,10 +43,3 @@ std::unique_ptr<IPDBInjectedSource> DIAEnumInjectedSources::getNext() { } void DIAEnumInjectedSources::reset() { Enumerator->Reset(); } - -DIAEnumInjectedSources *DIAEnumInjectedSources::clone() const { - CComPtr<IDiaEnumInjectedSources> EnumeratorClone; - if (S_OK != Enumerator->Clone(&EnumeratorClone)) - return nullptr; - return new DIAEnumInjectedSources(Session, EnumeratorClone); -} |

