[llvm-commits] CVS: llvm/lib/Bytecode/Reader/ReaderWrappers.cpp
LLVM
llvm at cs.uiuc.edu
Sun Jul 4 06:04:02 PDT 2004
Changes in directory llvm/lib/Bytecode/Reader:
ReaderWrappers.cpp updated: 1.23 -> 1.24
---
Log message:
Remove tabs. Move function declaration to Reader.h where it belongs.
---
Diffs of the changes: (+4 -8)
Index: llvm/lib/Bytecode/Reader/ReaderWrappers.cpp
diff -u llvm/lib/Bytecode/Reader/ReaderWrappers.cpp:1.23 llvm/lib/Bytecode/Reader/ReaderWrappers.cpp:1.24
--- llvm/lib/Bytecode/Reader/ReaderWrappers.cpp:1.23 Tue Jun 29 18:24:14 2004
+++ llvm/lib/Bytecode/Reader/ReaderWrappers.cpp Sun Jul 4 06:03:03 2004
@@ -88,7 +88,7 @@
public:
BytecodeBufferReader(const unsigned char *Buf, unsigned Length,
const std::string &ModuleID,
- llvm::BytecodeHandler* Handler = 0);
+ llvm::BytecodeHandler* Handler = 0);
~BytecodeBufferReader();
};
@@ -97,7 +97,7 @@
BytecodeBufferReader::BytecodeBufferReader(const unsigned char *Buf,
unsigned Length,
const std::string &ModuleID,
- llvm::BytecodeHandler* H )
+ llvm::BytecodeHandler* H )
: BytecodeReader(H)
{
// If not aligned, allocate a new buffer to hold the bytecode...
@@ -248,7 +248,7 @@
llvm::getBytecodeBufferModuleProvider(const unsigned char *Buffer,
unsigned Length,
const std::string &ModuleID,
- BytecodeHandler* H ) {
+ BytecodeHandler* H ) {
return CheckVarargs(
new BytecodeBufferReader(Buffer, Length, ModuleID, H));
}
@@ -271,7 +271,7 @@
/// getBytecodeModuleProvider - lazy function-at-a-time loading from a file
///
ModuleProvider *llvm::getBytecodeModuleProvider(const std::string &Filename,
- BytecodeHandler* H) {
+ BytecodeHandler* H) {
if (Filename != std::string("-")) // Read from a file...
return CheckVarargs(new BytecodeFileReader(Filename,H));
else // Read from stdin
@@ -289,10 +289,6 @@
if (ErrorStr) *ErrorStr = err;
return 0;
}
-}
-
-namespace llvm {
-extern BytecodeHandler* createBytecodeAnalyzerHandler(BytecodeAnalysis& bca );
}
// AnalyzeBytecodeFile - analyze one file
More information about the llvm-commits
mailing list