diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 15:07:11 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 15:07:11 +0000 |
commit | 2a4005688c05e26439ce83c0b1da482e3c346ba9 (patch) | |
tree | d0cc3ca82760f29542ee8ced6f87e7de1c3a803c /include | |
parent | 26ace5720d471dcff6ab6495f5898597cda54496 (diff) | |
download | llvm-2a4005688c05e26439ce83c0b1da482e3c346ba9.tar.gz llvm-2a4005688c05e26439ce83c0b1da482e3c346ba9.tar.bz2 llvm-2a4005688c05e26439ce83c0b1da482e3c346ba9.tar.xz |
Remove Path::getMagicNumber.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/PathV1.h | 8 |
1 files changed, 0 insertions, 8 deletions
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 |