summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Bytecode/Archive/Archive.cpp4
-rw-r--r--llvm/lib/Bytecode/Archive/ArchiveReader.cpp4
-rw-r--r--llvm/lib/Bytecode/Archive/ArchiveWriter.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Bytecode/Archive/Archive.cpp b/llvm/lib/Bytecode/Archive/Archive.cpp
index f9fa80748bc..d594a8715f7 100644
--- a/llvm/lib/Bytecode/Archive/Archive.cpp
+++ b/llvm/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;
diff --git a/llvm/lib/Bytecode/Archive/ArchiveReader.cpp b/llvm/lib/Bytecode/Archive/ArchiveReader.cpp
index 67b6549e15e..58b1e20ca64 100644
--- a/llvm/lib/Bytecode/Archive/ArchiveReader.cpp
+++ b/llvm/lib/Bytecode/Archive/ArchiveReader.cpp
@@ -205,10 +205,10 @@ Archive::parseMemberHeader(const char*& At, const char* End, std::string* error)
// Determine if this is a bytecode file
switch (sys::IdentifyFileType(At, 4)) {
- case sys::BytecodeFileType:
+ case sys::Bytecode_FileType:
flags |= ArchiveMember::BytecodeFlag;
break;
- case sys::CompressedBytecodeFileType:
+ case sys::CompressedBytecode_FileType:
flags |= ArchiveMember::CompressedBytecodeFlag;
flags &= ~ArchiveMember::CompressedFlag;
break;
diff --git a/llvm/lib/Bytecode/Archive/ArchiveWriter.cpp b/llvm/lib/Bytecode/Archive/ArchiveWriter.cpp
index fc85374c020..b8e3280c125 100644
--- a/llvm/lib/Bytecode/Archive/ArchiveWriter.cpp
+++ b/llvm/lib/Bytecode/Archive/ArchiveWriter.cpp
@@ -178,10 +178,10 @@ Archive::addFileBefore(const sys::Path& filePath, iterator where,
std::string magic;
mbr->path.getMagicNumber(magic,4);
switch (sys::IdentifyFileType(magic.c_str(),4)) {
- case sys::BytecodeFileType:
+ case sys::Bytecode_FileType:
flags |= ArchiveMember::BytecodeFlag;
break;
- case sys::CompressedBytecodeFileType:
+ case sys::CompressedBytecode_FileType:
flags |= ArchiveMember::CompressedBytecodeFlag;
break;
default:
OpenPOWER on IntegriCloud