projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't #include <algorithm> into the llvm namespace.
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
STLExtras.h
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) {