mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +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:
@ -539,9 +539,6 @@ TEST_F(FileSystemTest, Magic) {
|
||||
StringRef magic(i->magic_str, i->magic_str_len);
|
||||
file << magic;
|
||||
file.close();
|
||||
bool res = false;
|
||||
ASSERT_NO_ERROR(fs::has_magic(file_pathname.c_str(), magic, res));
|
||||
EXPECT_TRUE(res);
|
||||
EXPECT_EQ(i->magic, fs::identify_magic(magic));
|
||||
ASSERT_NO_ERROR(fs::remove(Twine(file_pathname)));
|
||||
}
|
||||
|
Reference in New Issue
Block a user