diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-09-22 23:40:38 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-09-22 23:40:38 +0000 |
commit | 6ee548d3378a874e657dec871786938629381c4a (patch) | |
tree | 987ff3829ebcb8e8ecdef2b1fe032a13a498c346 /include | |
parent | 12c29d10bb5dc73b9c67dc63051c714b29de547d (diff) | |
download | llvm-6ee548d3378a874e657dec871786938629381c4a.tar.gz llvm-6ee548d3378a874e657dec871786938629381c4a.tar.bz2 llvm-6ee548d3378a874e657dec871786938629381c4a.tar.xz |
Added doxygen comments for the streaming module provider.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Bytecode/Reader.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/llvm/Bytecode/Reader.h b/include/llvm/Bytecode/Reader.h index 62b512b25f..baf0603d3b 100644 --- a/include/llvm/Bytecode/Reader.h +++ b/include/llvm/Bytecode/Reader.h @@ -16,28 +16,29 @@ #include <string> #include <vector> -/// +/// getBytecodeModuleProvider - lazy function-at-a-time loading from a file /// AbstractModuleProvider* getBytecodeModuleProvider(const std::string &Filename); -/// +/// getBytecodeBufferModuleProvider - lazy function-at-a-time loading from a +/// buffer /// AbstractModuleProvider* getBytecodeBufferModuleProvider(const unsigned char *Buffer, unsigned BufferSize, - const std::string &ModuleID); + const std::string &ModuleID = ""); -/// Parse the given bytecode file +/// ParseBytecodeFile - Parse the given bytecode file /// Module* ParseBytecodeFile(const std::string &Filename, std::string *ErrorStr = 0); -/// Parse a given bytecode buffer +/// ParseBytecodeBuffer - Parse a given bytecode buffer /// Module* ParseBytecodeBuffer(const unsigned char *Buffer, unsigned BufferSize, - const std::string &ModuleID, + const std::string &ModuleID = "", std::string *ErrorStr = 0); /// ReadArchiveFile - Read bytecode files from the specfied .a file, returning |