summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Archive/ArchiveWriter.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-01 23:13:44 +0000
committerOwen Anderson <resistor@mac.com>2009-07-01 23:13:44 +0000
commit2a15443aa800aeb61783809c8a686e5e35b1a4db (patch)
tree9d2e438d1ccb26eee4da98268d6e64a2e6c2bbe2 /llvm/lib/Archive/ArchiveWriter.cpp
parent83ff184206a418387992109015ca83f220788f0d (diff)
downloadbcm5719-llvm-2a15443aa800aeb61783809c8a686e5e35b1a4db.tar.gz
bcm5719-llvm-2a15443aa800aeb61783809c8a686e5e35b1a4db.zip
Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the
moment, that I will need to make far-reaching changes. llvm-svn: 74655
Diffstat (limited to 'llvm/lib/Archive/ArchiveWriter.cpp')
-rw-r--r--llvm/lib/Archive/ArchiveWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Archive/ArchiveWriter.cpp b/llvm/lib/Archive/ArchiveWriter.cpp
index e84035404bf..881d75b3ba8 100644
--- a/llvm/lib/Archive/ArchiveWriter.cpp
+++ b/llvm/lib/Archive/ArchiveWriter.cpp
@@ -64,7 +64,7 @@ static inline unsigned numVbrBytes(unsigned num) {
}
// Create an empty archive.
-Archive* Archive::CreateEmpty(const sys::Path& FilePath, const LLVMContext& C) {
+Archive* Archive::CreateEmpty(const sys::Path& FilePath, LLVMContext& C) {
Archive* result = new Archive(FilePath, C);
return result;
}
OpenPOWER on IntegriCloud