summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-09-12 22:57:03 +0000
committerZachary Turner <zturner@google.com>2018-09-12 22:57:03 +0000
commitc43d55602fc99d8f048f1828f4a95dbadb2d6900 (patch)
tree165d9efe229ac7308523d04eb3abd8c08b72145d /llvm/lib/DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
parentaadfe4661d0ef95df53335e5fbeccad9e414a9a2 (diff)
downloadbcm5719-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/Native/NativeCompilandSymbol.cpp')
-rw-r--r--llvm/lib/DebugInfo/PDB/Native/NativeCompilandSymbol.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/NativeCompilandSymbol.cpp b/llvm/lib/DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
index b278526771f..64ddf75c6d2 100644
--- a/llvm/lib/DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
@@ -33,10 +33,6 @@ void NativeCompilandSymbol::dump(raw_ostream &OS, int Indent) const {
Indent);
}
-std::unique_ptr<NativeRawSymbol> NativeCompilandSymbol::clone() const {
- return llvm::make_unique<NativeCompilandSymbol>(Session, SymbolId, Module);
-}
-
bool NativeCompilandSymbol::isEditAndContinueEnabled() const {
return Module.hasECInfo();
}
OpenPOWER on IntegriCloud