mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-27 14:24:40 +00:00
Remove unused has_magic.
This will allow inlining get_magic, which should in turn fix one of the mingw build problems after the switch to std::error_code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210712 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -603,14 +603,6 @@ error_code openFileForWrite(const Twine &Name, int &ResultFD, OpenFlags Flags,
|
||||
|
||||
error_code openFileForRead(const Twine &Name, int &ResultFD);
|
||||
|
||||
/// @brief Are \a path's first bytes \a magic?
|
||||
///
|
||||
/// @param path Input path.
|
||||
/// @param magic Byte sequence to compare \a path's first len(magic) bytes to.
|
||||
/// @returns errc::success if result has been successfully set, otherwise a
|
||||
/// platform specific error_code.
|
||||
error_code has_magic(const Twine &path, const Twine &magic, bool &result);
|
||||
|
||||
/// @brief Get \a path's first \a len bytes.
|
||||
///
|
||||
/// @param path Input path.
|
||||
|
Reference in New Issue
Block a user