mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Support/PathV2: Implement has_magic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122587 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -448,7 +448,7 @@ error_code canonicalize(const Twine &path, SmallVectorImpl<char> &result);
|
||||
/// @param magic Byte sequence to compare \a path's first len(magic) bytes to.
|
||||
/// @results errc::success if result has been successfully set, otherwise a
|
||||
/// platform specific error_code.
|
||||
error_code has_magic(const Twine &path, const Twine &magic);
|
||||
error_code has_magic(const Twine &path, const Twine &magic, bool &result);
|
||||
|
||||
/// @brief Get \a path's first \a len bytes.
|
||||
///
|
||||
|
Reference in New Issue
Block a user