[llvm] r183671 - Remove the old IdentifyFileType now that lld was updated.

Rafael Espindola rafael.espindola at gmail.com
Mon Jun 10 08:37:29 PDT 2013


Author: rafael
Date: Mon Jun 10 10:37:29 2013
New Revision: 183671

URL: http://llvm.org/viewvc/llvm-project?rev=183671&view=rev
Log:
Remove the old IdentifyFileType now that lld was updated.

Modified:
    llvm/trunk/include/llvm/Support/PathV1.h

Modified: llvm/trunk/include/llvm/Support/PathV1.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/PathV1.h?rev=183671&r1=183670&r2=183671&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/PathV1.h (original)
+++ llvm/trunk/include/llvm/Support/PathV1.h Mon Jun 10 10:37:29 2013
@@ -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.





More information about the llvm-commits mailing list