diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-14 19:07:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-14 19:07:07 +0000 |
commit | 59e8de386d0505a732254be770ff0978e4a54234 (patch) | |
tree | ea3d8a43fdf2ed8627a7c26bf80edb228d858f13 /include | |
parent | 6f3ada51aa7a3816609967231befd58de4053e4c (diff) | |
download | external_llvm-59e8de386d0505a732254be770ff0978e4a54234.zip external_llvm-59e8de386d0505a732254be770ff0978e4a54234.tar.gz external_llvm-59e8de386d0505a732254be770ff0978e4a54234.tar.bz2 |
Improve documentation on throwing, it is not complete still though. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28294 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/Compressor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Support/Compressor.h b/include/llvm/Support/Compressor.h index 596e629..fbd7524 100644 --- a/include/llvm/Support/Compressor.h +++ b/include/llvm/Support/Compressor.h @@ -57,6 +57,7 @@ namespace llvm { /// writing when this method is called. The stream will not be closed by /// this method. The \p hint argument indicates which type of /// compression the caller would *prefer*. + /// @throws std::string explaining error if a compression error occurs /// @returns The amount of data written to \p out. /// @brief Compress memory to a file. static size_t compressToStream( @@ -68,6 +69,7 @@ namespace llvm { /// This method decompresses a block of memory pointed to by \p in with /// size \p size to a new block of memory, \p out, \p that was allocated /// by malloc. It is the caller's responsibility to free \p out. + /// @throws std::string explaining error if a decompression error occurs /// @returns The size of the output buffer \p out. /// @brief Decompress memory to a new memory buffer. static size_t decompressToNewBuffer( @@ -80,6 +82,7 @@ namespace llvm { /// size \p size to a stream. The stream \p out must be open and ready for /// writing when this method is called. The stream will not be closed by /// this method. + /// @throws std::string explaining error if a decompression error occurs /// @returns The amount of data written to \p out. /// @brief Decompress memory to a stream. static size_t decompressToStream( |