From eb22ac0886c79edf67d51f9db3e39a58c5d0ce6f Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Sat, 5 Apr 2014 20:20:46 +0000 Subject: [PATCH] Remove unused function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205672 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCContext.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/llvm/MC/MCContext.h b/include/llvm/MC/MCContext.h index 9091ed93e58..5ae27a9104c 100644 --- a/include/llvm/MC/MCContext.h +++ b/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; }