diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-16 02:24:01 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-16 02:24:01 +0000 |
| commit | b0b0e4958b6b256f29b542a5ef6ecae8ad644bbb (patch) | |
| tree | 417b23a9d18092c50792ced76912b0eb3c7cf474 /llvm/lib/IR/DebugInfo.cpp | |
| parent | 8ef1bd24377e2c8ca059bb6439a06131f854747d (diff) | |
| download | bcm5719-llvm-b0b0e4958b6b256f29b542a5ef6ecae8ad644bbb.tar.gz bcm5719-llvm-b0b0e4958b6b256f29b542a5ef6ecae8ad644bbb.zip | |
DebugInfo: DIRef<> => TypedDebugNodeRef<>
Delete `DIRef<>`, and replace the remaining uses of it with
`TypedDebugNodeRef<>`. To minimize code churn, I've added typedefs from
`MDTypeRef` to `DITypeRef` (etc.).
llvm-svn: 235071
Diffstat (limited to 'llvm/lib/IR/DebugInfo.cpp')
| -rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index d877325b1f1..719c28b547f 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -307,20 +307,6 @@ bool DebugInfoFinder::addScope(DIScope Scope) { return true; } -template <> -DIDescriptor -DIRef<DIDescriptor>::resolve(const DITypeIdentifierMap &Map) const { - return DIDescriptor(DebugNodeRef(Val).resolve(Map)); -} -template <> -DIScope DIRef<DIScope>::resolve(const DITypeIdentifierMap &Map) const { - return MDScopeRef(Val).resolve(Map); -} -template <> -DIType DIRef<DIType>::resolve(const DITypeIdentifierMap &Map) const { - return MDTypeRef(Val).resolve(Map); -} - bool llvm::stripDebugInfo(Function &F) { bool Changed = false; for (BasicBlock &BB : F) { |

