diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-04 20:14:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-04 20:14:59 +0000 |
commit | 00413e3d63c99ceed5d162ef650ad74c0db4e5d8 (patch) | |
tree | 8874b00022ef7e0fc372c2974da5548eed3bd641 /include | |
parent | 9e460f23bb00c8b107ea6ef3a932a33e115d3dce (diff) |
Rename AbstractModuleProvider -> ModuleProvider, to match the header file name,
and because, while the class used by the interface is abstract, the actual
concept is not.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8850 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Bytecode/Reader.h | 10 | ||||
-rw-r--r-- | include/llvm/ModuleProvider.h | 6 |
2 files changed, 7 insertions, 9 deletions
diff --git a/include/llvm/Bytecode/Reader.h b/include/llvm/Bytecode/Reader.h index e195a322d1..4bff87db73 100644 --- a/include/llvm/Bytecode/Reader.h +++ b/include/llvm/Bytecode/Reader.h @@ -18,16 +18,14 @@ /// getBytecodeModuleProvider - lazy function-at-a-time loading from a file /// -AbstractModuleProvider* -getBytecodeModuleProvider(const std::string &Filename); +ModuleProvider *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 = ""); +ModuleProvider *getBytecodeBufferModuleProvider(const unsigned char *Buffer, + unsigned BufferSize, + const std::string &ModuleID=""); /// ParseBytecodeFile - Parse the given bytecode file /// diff --git a/include/llvm/ModuleProvider.h b/include/llvm/ModuleProvider.h index e8e6052c0f..8f7010360c 100644 --- a/include/llvm/ModuleProvider.h +++ b/include/llvm/ModuleProvider.h @@ -14,13 +14,13 @@ class Function; class Module; -class AbstractModuleProvider { +class ModuleProvider { protected: Module *TheModule; - AbstractModuleProvider(); + ModuleProvider(); public: - virtual ~AbstractModuleProvider(); + virtual ~ModuleProvider(); /// getModule - returns the module this provider is encapsulating. /// |