From: Rafael Espindola Date: Mon, 10 Jun 2013 15:37:29 +0000 (+0000) Subject: Remove the old IdentifyFileType now that lld was updated. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=27b7adef95a726555190072fd8603ba3a62b5d12;p=oota-llvm.git Remove the old IdentifyFileType now that lld was updated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183671 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h index d4bb58af066..31a2f9124ad 100644 --- a/include/llvm/Support/PathV1.h +++ b/include/llvm/Support/PathV1.h @@ -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.