summaryrefslogtreecommitdiff
path: root/lib/Bytecode/Archive/Archive.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-04 06:31:04 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-04 06:31:04 +0000
commit20c348978ea0d3ec7177fab801d619ccbe7d815f (patch)
tree226a2496a36fbc62823fafc074e4bb94a366d4b6 /lib/Bytecode/Archive/Archive.cpp
parent8bb5fd17f9a715ac9ce87619f3b6c1066a244859 (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/Bytecode/Archive/Archive.cpp')
-rw-r--r--lib/Bytecode/Archive/Archive.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Archive/Archive.cpp b/lib/Bytecode/Archive/Archive.cpp
index f9fa80748bc..d594a8715f7 100644
--- a/lib/Bytecode/Archive/Archive.cpp
+++ b/lib/Bytecode/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;