[llvm] r205672 - Remove unused function

David Blaikie dblaikie at gmail.com
Sat Apr 5 13:20:47 PDT 2014


Author: dblaikie
Date: Sat Apr  5 15:20:46 2014
New Revision: 205672

URL: http://llvm.org/viewvc/llvm-project?rev=205672&view=rev
Log:
Remove unused function

Modified:
    llvm/trunk/include/llvm/MC/MCContext.h

Modified: llvm/trunk/include/llvm/MC/MCContext.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCContext.h?rev=205672&r1=205671&r2=205672&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCContext.h (original)
+++ llvm/trunk/include/llvm/MC/MCContext.h Sat Apr  5 15:20:46 2014
@@ -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;
     }





More information about the llvm-commits mailing list