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