Remove the old IdentifyFileType now that lld was updated.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 10 Jun 2013 15:37:29 +0000 (15:37 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 10 Jun 2013 15:37:29 +0000 (15:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183671 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/PathV1.h

index d4bb58af06607470fc8ccc42d2b3e0bf48fb142b..31a2f9124ad793ab3e2852ebc6061579637b2a48 100644 (file)
@@ -726,9 +726,6 @@ namespace sys {
   /// This utility function allows any memory block to be examined in order
   /// to determine its file type.
   LLVMFileType identifyFileType(StringRef Magic);
-  inline LLVMFileType IdentifyFileType(const char *Magic, unsigned Length) {
-    return identifyFileType(StringRef(Magic, Length));
-  }
 
   /// This function can be used to copy the file specified by Src to the
   /// file specified by Dest. If an error occurs, Dest is removed.