diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 15:04:59 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 15:04:59 +0000 |
commit | 26ace5720d471dcff6ab6495f5898597cda54496 (patch) | |
tree | e4750398e2052bfc2a340a133533bd236d05de86 /include | |
parent | fa2bbb31fae64bc8cc3dc3736f5465d3ddba1704 (diff) | |
download | llvm-26ace5720d471dcff6ab6495f5898597cda54496.tar.gz llvm-26ace5720d471dcff6ab6495f5898597cda54496.tar.bz2 llvm-26ace5720d471dcff6ab6495f5898597cda54496.tar.xz |
Remove Path::hasMagicNumber.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/PathV1.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h index 4a4816bd8d..ceb6e29faf 100644 --- a/include/llvm/Support/PathV1.h +++ b/include/llvm/Support/PathV1.h @@ -219,15 +219,6 @@ namespace sys { /// @name Disk Accessors /// @{ public: - /// This function opens the file associated with the path name provided by - /// the Path object and reads its magic number. If the magic number at the - /// start of the file matches \p magic, true is returned. In all other - /// cases (file not found, file not accessible, etc.) it returns false. - /// @returns true if the magic number of the file matches \p magic. - /// @brief Determine if file has a specific magic number - LLVM_ATTRIBUTE_DEPRECATED(bool hasMagicNumber(StringRef magic) const, - LLVM_PATH_DEPRECATED_MSG(fs::has_magic)); - /// 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. |