aboutsummaryrefslogtreecommitdiffstats
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
commitc24a3f87f866e96b2a9ad691c78113651eaa77d1 (patch)
tree0b0b5b402393260240d66dd4889d094b41a2ee82 /include/llvm/ADT/ilist.h
parentfc187160d216bb1adca9e8f622c7d2ff9301a6f6 (diff)
downloadexternal_llvm-c24a3f87f866e96b2a9ad691c78113651eaa77d1.zip
external_llvm-c24a3f87f866e96b2a9ad691c78113651eaa77d1.tar.gz
external_llvm-c24a3f87f866e96b2a9ad691c78113651eaa77d1.tar.bz2
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 0acbf46..42d09c7 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);
}