From 2a4005688c05e26439ce83c0b1da482e3c346ba9 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 12 Jun 2013 15:07:11 +0000 Subject: Remove Path::getMagicNumber. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183839 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/PathV1.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/llvm/Support/PathV1.h') diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h index ceb6e29faf..916edaadf7 100644 --- a/include/llvm/Support/PathV1.h +++ b/include/llvm/Support/PathV1.h @@ -219,14 +219,6 @@ namespace sys { /// @name Disk Accessors /// @{ public: - /// This function retrieves the first \p len bytes of the file associated - /// with \p this. These bytes are returned as the "magic number" in the - /// \p Magic parameter. - /// @returns true if the Path is a file and the magic number is retrieved, - /// false otherwise. - /// @brief Get the file's magic number. - bool getMagicNumber(std::string& Magic, unsigned len) const; - /// This function determines if the path name in the object references an /// archive file by looking at its magic number. /// @returns true if the file starts with the magic number for an archive -- cgit v1.2.3