diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-04 06:31:04 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-04 06:31:04 +0000 |
commit | 20c348978ea0d3ec7177fab801d619ccbe7d815f (patch) | |
tree | 226a2496a36fbc62823fafc074e4bb94a366d4b6 /lib/Archive/Archive.cpp | |
parent | 8bb5fd17f9a715ac9ce87619f3b6c1066a244859 (diff) |
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
Diffstat (limited to 'lib/Archive/Archive.cpp')
-rw-r--r-- | lib/Archive/Archive.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Archive/Archive.cpp b/lib/Archive/Archive.cpp index f9fa80748b..d594a8715f 100644 --- a/lib/Archive/Archive.cpp +++ b/lib/Archive/Archive.cpp @@ -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; |