[llvm-commits] CVS: llvm/lib/VMCore/ModuleProvider.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Oct 4 15:16:01 PDT 2003


Changes in directory llvm/lib/VMCore:

ModuleProvider.cpp updated: 1.2 -> 1.3

---
Log message:

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.


---
Diffs of the changes:

Index: llvm/lib/VMCore/ModuleProvider.cpp
diff -u llvm/lib/VMCore/ModuleProvider.cpp:1.2 llvm/lib/VMCore/ModuleProvider.cpp:1.3
--- llvm/lib/VMCore/ModuleProvider.cpp:1.2	Mon Sep 22 18:44:13 2003
+++ llvm/lib/VMCore/ModuleProvider.cpp	Sat Oct  4 15:14:59 2003
@@ -9,17 +9,17 @@
 
 /// ctor - always have a valid Module
 ///
-AbstractModuleProvider::AbstractModuleProvider() : TheModule(0) { }
+ModuleProvider::ModuleProvider() : TheModule(0) { }
 
 /// dtor - when we leave, we take our Module with us
 ///
-AbstractModuleProvider::~AbstractModuleProvider() {
+ModuleProvider::~ModuleProvider() {
   delete TheModule;
 }
 
 /// materializeFunction - make sure the given function is fully read.
 ///
-void AbstractModuleProvider::materializeModule() {
+void ModuleProvider::materializeModule() {
   if (!TheModule) return;
 
   for (Module::iterator i = TheModule->begin(), e = TheModule->end();





More information about the llvm-commits mailing list