[llvm-commits] CVS: llvm/include/llvm/Module.h
Chris Lattner
lattner at cs.uiuc.edu
Sun May 15 18:49:40 PDT 2005
Changes in directory llvm/include/llvm:
Module.h updated: 1.61 -> 1.62
---
Log message:
remove deprecated methods
---
Diffs of the changes: (+5 -15)
Module.h | 20 +++++---------------
1 files changed, 5 insertions(+), 15 deletions(-)
Index: llvm/include/llvm/Module.h
diff -u llvm/include/llvm/Module.h:1.61 llvm/include/llvm/Module.h:1.62
--- llvm/include/llvm/Module.h:1.61 Thu Apr 21 15:11:51 2005
+++ llvm/include/llvm/Module.h Sun May 15 20:49:23 2005
@@ -186,21 +186,11 @@
// Module iterator forwarding functions
//
// Globals list interface
- inline global_iterator global_begin() { return GlobalList.begin(); }
- inline const_global_iterator global_begin() const { return GlobalList.begin(); }
- inline global_iterator global_end () { return GlobalList.end(); }
- inline const_global_iterator global_end () const { return GlobalList.end(); }
- inline bool global_empty() const { return GlobalList.empty(); }
-
- //===--------------------------------------------------------------------===//
- // Module iterator forwarding functions (legacy, deprecated, will be removed)
- //
- // Globals list interface
- inline global_iterator gbegin() { return GlobalList.begin(); }
- inline const_global_iterator gbegin() const { return GlobalList.begin(); }
- inline global_iterator gend () { return GlobalList.end(); }
- inline const_global_iterator gend () const { return GlobalList.end(); }
- inline bool gempty() const { return GlobalList.empty(); }
+ global_iterator global_begin() { return GlobalList.begin(); }
+ const_global_iterator global_begin() const { return GlobalList.begin(); }
+ global_iterator global_end () { return GlobalList.end(); }
+ const_global_iterator global_end () const { return GlobalList.end(); }
+ bool global_empty() const { return GlobalList.empty(); }
// FunctionList interface
inline iterator begin() { return FunctionList.begin(); }
More information about the llvm-commits
mailing list