summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/ilist.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-05 17:59:02 +0000
committerDan Gohman <gohman@apple.com>2009-01-05 17:59:02 +0000
commitd68a07650cdb2e18f18f362ba533459aa10e01b6 (patch)
tree0b0b5b402393260240d66dd4889d094b41a2ee82 /include/llvm/ADT/ilist.h
parent08f053f5d1df120dc8389a3ec8947ab16b1ccc53 (diff)
downloadllvm-d68a07650cdb2e18f18f362ba533459aa10e01b6.tar.gz
llvm-d68a07650cdb2e18f18f362ba533459aa10e01b6.tar.bz2
llvm-d68a07650cdb2e18f18f362ba533459aa10e01b6.tar.xz
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
Diffstat (limited to 'include/llvm/ADT/ilist.h')
-rw-r--r--include/llvm/ADT/ilist.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/ADT/ilist.h b/include/llvm/ADT/ilist.h
index 0acbf46a1a..42d09c7b45 100644
--- a/include/llvm/ADT/ilist.h
+++ b/include/llvm/ADT/ilist.h
@@ -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);
}