From 8e80514fbe74aef072c7ac791842e16b31e0ba54 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Sat, 5 Apr 2014 20:20:46 +0000 Subject: [PATCH] Remove unused function llvm-svn: 205672 --- llvm/include/llvm/MC/MCContext.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/llvm/include/llvm/MC/MCContext.h b/llvm/include/llvm/MC/MCContext.h index 9091ed93e58d..5ae27a9104c2 100644 --- a/llvm/include/llvm/MC/MCContext.h +++ b/llvm/include/llvm/MC/MCContext.h @@ -304,14 +304,6 @@ namespace llvm { bool isValidDwarfFileNumber(unsigned FileNumber, unsigned CUID = 0); - bool hasDwarfFiles() const { - // Traverse MCDwarfFilesCUMap and check whether each entry is empty. - for (const auto &FileTable : MCDwarfLineTablesCUMap) - if (!FileTable.second.getMCDwarfFiles().empty()) - return true; - return false; - } - const std::map &getMCDwarfLineTables() const { return MCDwarfLineTablesCUMap; }