projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hold the LLVMContext by reference rather than by pointer.
[oota-llvm.git]
/
lib
/
Archive
/
ArchiveWriter.cpp
diff --git
a/lib/Archive/ArchiveWriter.cpp
b/lib/Archive/ArchiveWriter.cpp
index 641e3324d63dd25525089e08de8e404d6a6ba9b7..e84035404bf3564efecc4e4350002d8719b92b5c 100644
(file)
--- a/
lib/Archive/ArchiveWriter.cpp
+++ b/
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,
LLVMContext*
C) {
+Archive* Archive::CreateEmpty(const sys::Path& FilePath,
const LLVMContext&
C) {
Archive* result = new Archive(FilePath, C);
return result;
}