Use MachineBasicBlock::transferSuccessors.
[oota-llvm.git] / include / llvm / ADT / iterator
1 //===-- llvm/ADT/iterator - Portable wrapper around <iterator> --*- C++ -*-===//
2 // 
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 // 
8 //===----------------------------------------------------------------------===//
9 //
10 // This file provides a wrapper around the mysterious <iterator> header file.
11 // In GCC 2.95.3, the file defines a bidirectional_iterator class (and other
12 // friends), instead of the standard iterator class.  In GCC 3.1, the
13 // bidirectional_iterator class got moved out and the new, standards compliant,
14 // iterator<> class was added.  Because there is nothing that we can do to get
15 // correct behavior on both compilers, we have this header with #ifdef's.  Gross
16 // huh?
17 //
18 // By #includ'ing this file, you get the contents of <iterator> plus the
19 // following classes in the global namespace:
20 //
21 //   1. bidirectional_iterator
22 //   2. forward_iterator
23 //
24 // The #if directives' expressions are filled in by Autoconf.
25 //
26 //===----------------------------------------------------------------------===//
27
28 #warning This files includes old 'llvm/ADT/iterator' file, which was replaced  \
29 by 'llvm/ADT/iterator.h'. Please consider upgrading the source.
30
31 #include "llvm/ADT/iterator.h"
32