projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a6cdb6
)
don't #include <algorithm> into the llvm namespace.
author
Chris Lattner
<sabre@nondot.org>
Mon, 1 Dec 2008 19:45:45 +0000
(19:45 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 1 Dec 2008 19:45:45 +0000
(19:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60365
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/STLExtras.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/STLExtras.h
b/include/llvm/ADT/STLExtras.h
index 7be7699bcc2b041d6c673b193736746cde6c0742..a9e195e1256fbadefe1fffbcd8c9b2496639ca3f 100644
(file)
--- a/
include/llvm/ADT/STLExtras.h
+++ b/
include/llvm/ADT/STLExtras.h
@@
-246,7
+246,9
@@
static inline int array_pod_sort_comparator(const void *P1, const void *P2) {
///
/// NOTE: If qsort_r were portable, we could allow a custom comparator and
/// default to std::less.
+}
#include <algorithm>
+namespace llvm {
template<class IteratorTy>
static inline void array_pod_sort(IteratorTy Start, IteratorTy End) {