For PR1302:

Adjust useage of sys::Path::FileType for new enumerator names.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35651 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2007-04-04 06:31:04 +00:00
parent 8bb5fd17f9
commit 20c348978e
6 changed files with 12 additions and 12 deletions

View File

@ -125,10 +125,10 @@ bool ArchiveMember::replaceWith(const sys::Path& newFile, std::string* ErrMsg) {
// Determine what kind of file it is
switch (sys::IdentifyFileType(signature,4)) {
case sys::BytecodeFileType:
case sys::Bytecode_FileType:
flags |= BytecodeFlag;
break;
case sys::CompressedBytecodeFileType:
case sys::CompressedBytecode_FileType:
flags |= CompressedBytecodeFlag;
flags &= ~CompressedFlag;
break;