Remove unused function
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 5 Apr 2014 20:20:46 +0000 (20:20 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 5 Apr 2014 20:20:46 +0000 (20:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205672 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCContext.h

index 9091ed93e58df8f0d18047d704f95951eadf4d75..5ae27a9104c271a06e71e5c18b79fb3485e8cd02 100644 (file)
@@ -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<unsigned, MCDwarfLineTable> &getMCDwarfLineTables() const {
       return MCDwarfLineTablesCUMap;
     }