aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-05-16 01:49:23 +0000
committerChris Lattner <sabre@nondot.org>2005-05-16 01:49:23 +0000
commit1a4dff011844d2b6daca8fc9dad6964191824dd7 (patch)
treea0c230b6bbd815d5f71d830f654b5236452509f4 /include/llvm/Module.h
parentf2b5e6edc0cc05fcd25fd31c7b2a5f9c08256dd3 (diff)
downloadexternal_llvm-1a4dff011844d2b6daca8fc9dad6964191824dd7.zip
external_llvm-1a4dff011844d2b6daca8fc9dad6964191824dd7.tar.gz
external_llvm-1a4dff011844d2b6daca8fc9dad6964191824dd7.tar.bz2
remove deprecated methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22076 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r--include/llvm/Module.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index 33b4c3d..d4932fc 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -186,21 +186,11 @@ public:
// 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(); }