forked from OSchip/llvm-project
parent
7caf6f6ca7
commit
a1a1e93da9
|
@ -195,17 +195,6 @@ public:
|
|||
size_t arg_size () const { return ArgumentList.size(); }
|
||||
bool arg_empty() const { return ArgumentList.empty(); }
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// Argument iterator forwarding functions (legacy, deprecated, will be removed)
|
||||
//
|
||||
arg_iterator abegin() { return ArgumentList.begin(); }
|
||||
const_arg_iterator abegin() const { return ArgumentList.begin(); }
|
||||
arg_iterator aend () { return ArgumentList.end(); }
|
||||
const_arg_iterator aend () const { return ArgumentList.end(); }
|
||||
|
||||
size_t asize() const { return ArgumentList.size(); }
|
||||
bool aempty() const { return ArgumentList.empty(); }
|
||||
|
||||
virtual void print(std::ostream &OS) const { print(OS, 0); }
|
||||
void print(std::ostream &OS, AssemblyAnnotationWriter *AAW) const;
|
||||
|
||||
|
|
|
@ -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(); }
|
||||
|
|
Loading…
Reference in New Issue