diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-04-19 16:15:31 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-04-19 16:15:31 +0000 |
commit | 9d44e702725a534c8e80edce52c7e71f71f37c06 (patch) | |
tree | 45d25ae2ef771d9801de0119b21b8cda349bd17d /include/llvm/Bitcode | |
parent | 985744ecc606211cb165e231a24a27b7e7835494 (diff) | |
download | external_llvm-9d44e702725a534c8e80edce52c7e71f71f37c06.zip external_llvm-9d44e702725a534c8e80edce52c7e71f71f37c06.tar.gz external_llvm-9d44e702725a534c8e80edce52c7e71f71f37c06.tar.bz2 |
Don't write into MemoryBuffers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101783 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode')
-rw-r--r-- | include/llvm/Bitcode/Archive.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Bitcode/Archive.h b/include/llvm/Bitcode/Archive.h index 67f2a4a..83a3758 100644 --- a/include/llvm/Bitcode/Archive.h +++ b/include/llvm/Bitcode/Archive.h @@ -107,7 +107,7 @@ class ArchiveMember : public ilist_node<ArchiveMember> { /// into memory, the return value will be null. /// @returns a pointer to the member's data. /// @brief Get the data content of the archive member - const void* getData() const { return data; } + const char* getData() const { return data; } /// This method determines if the member is a regular compressed file. /// @returns true iff the archive member is a compressed regular file. @@ -172,7 +172,7 @@ class ArchiveMember : public ilist_node<ArchiveMember> { sys::PathWithStatus path; ///< Path of file containing the member sys::FileStatus info; ///< Status info (size,mode,date) unsigned flags; ///< Flags about the archive member - const void* data; ///< Data for the member + const char* data; ///< Data for the member /// @} /// @name Constructors |