Skip to content

Commit c0c8fbe

Browse files
committed
Remove unused function.
1 parent 69c70b8 commit c0c8fbe

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

lib/IRGen/IRGenDebugInfo.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -739,9 +739,6 @@ llvm::DISubprogram *IRGenDebugInfo::emitFunction(
739739
return SP;
740740
}
741741

742-
/// TODO: This is no longer needed.
743-
void IRGenDebugInfo::eraseFunction(llvm::Function *Fn) {}
744-
745742
void IRGenDebugInfo::emitImport(ImportDecl *D) {
746743
if (Opts.DebugInfoKind == IRGenDebugInfoKind::LineTables)
747744
return;

lib/IRGen/IRGenDebugInfo.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,6 @@ class IRGenDebugInfo {
197197
/// Return the DIBuilder.
198198
llvm::DIBuilder &getBuilder() { return DBuilder; }
199199

200-
/// Removes the function from the Functions map again.
201-
void eraseFunction(llvm::Function *Fn);
202-
203200
private:
204201
StringRef BumpAllocatedString(const char *Data, size_t Length);
205202
StringRef BumpAllocatedString(std::string S);

0 commit comments

Comments
 (0)