Tidy up #includes, deleting a bunch of unnecessary #includes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61715 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2009-01-05 17:59:02 +00:00
parent 08f053f5d1
commit d68a07650c
99 changed files with 97 additions and 171 deletions

View File

@ -457,6 +457,4 @@ template<typename T> struct FoldingSetTrait<const T*> {
} // End of namespace llvm.
#endif

View File

@ -19,7 +19,7 @@
#include <functional>
#include <utility> // for std::pair
#include <cstring> // for std::size_t
#include <cstddef> // for std::size_t
#include "llvm/ADT/iterator.h"
namespace llvm {

View File

@ -17,11 +17,11 @@
#include <cassert>
#include <cstring>
#include <algorithm>
#include "llvm/Support/DataTypes.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/ADT/ilist.h"
namespace llvm {
/// SparseBitVector is an implementation of a bitvector that is sparse by only

View File

@ -40,7 +40,6 @@
#include "llvm/ADT/iterator.h"
#include <cassert>
#include <cstdlib>
namespace llvm {
@ -366,7 +365,7 @@ public:
}
void swap(iplist &RHS) {
abort(); // Swap does not use list traits callback correctly yet!
assert(0 && "Swap does not use list traits callback correctly yet!");
std::swap(Head, RHS.Head);
}