[llvm] r287702 - LTO: Remove a now-unused InputFile accessor.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 22 13:25:30 PST 2016


Author: pcc
Date: Tue Nov 22 15:25:30 2016
New Revision: 287702

URL: http://llvm.org/viewvc/llvm-project?rev=287702&view=rev
Log:
LTO: Remove a now-unused InputFile accessor.

Modified:
    llvm/trunk/include/llvm/LTO/LTO.h

Modified: llvm/trunk/include/llvm/LTO/LTO.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/LTO/LTO.h?rev=287702&r1=287701&r2=287702&view=diff
==============================================================================
--- llvm/trunk/include/llvm/LTO/LTO.h (original)
+++ llvm/trunk/include/llvm/LTO/LTO.h Tue Nov 22 15:25:30 2016
@@ -238,10 +238,6 @@ public:
                             symbol_iterator(Obj->symbol_end(), this));
   }
 
-  StringRef getDataLayoutStr() const {
-    return Obj->getModule().getDataLayoutStr();
-  }
-
   StringRef getSourceFileName() const {
     return Obj->getModule().getSourceFileName();
   }




More information about the llvm-commits mailing list