[llvm-commits] CVS: llvm/include/llvm/Bytecode/Reader.h
Misha Brukman
brukman at cs.uiuc.edu
Mon Sep 22 18:41:02 PDT 2003
Changes in directory llvm/include/llvm/Bytecode:
Reader.h updated: 1.11 -> 1.12
---
Log message:
Added doxygen comments for the streaming module provider.
---
Diffs of the changes:
Index: llvm/include/llvm/Bytecode/Reader.h
diff -u llvm/include/llvm/Bytecode/Reader.h:1.11 llvm/include/llvm/Bytecode/Reader.h:1.12
--- llvm/include/llvm/Bytecode/Reader.h:1.11 Mon Sep 22 18:36:33 2003
+++ llvm/include/llvm/Bytecode/Reader.h Mon Sep 22 18:40:38 2003
@@ -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
More information about the llvm-commits
mailing list