mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-23 12:11:58 +00:00
Make sure IdentifyFileType is in the sys namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17806 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6bb69355d2
commit
a2a62210f2
@ -23,7 +23,7 @@ using namespace sys;
|
|||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
LLVMFileType
|
LLVMFileType
|
||||||
IdentifyFileType(const char*magic, unsigned length) {
|
sys::IdentifyFileType(const char*magic, unsigned length) {
|
||||||
assert(magic && "Invalid magic number string");
|
assert(magic && "Invalid magic number string");
|
||||||
assert(length >=4 && "Invalid magic number length");
|
assert(length >=4 && "Invalid magic number length");
|
||||||
switch (magic[0]) {
|
switch (magic[0]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user