diff options
| author | Andrew Trick <atrick@apple.com> | 2012-11-16 21:33:35 +0000 |
|---|---|---|
| committer | Andrew Trick <atrick@apple.com> | 2012-11-16 21:33:35 +0000 |
| commit | 6e8ed789aa966e540ac319e6bddf88f95f41e9be (patch) | |
| tree | 773c40014eb372cfc5d4e1f2d6280f61aab9b0f6 | |
| parent | 75c894388c29831d804acdcf70f70086f077d4b9 (diff) | |
| download | bcm5719-llvm-6e8ed789aa966e540ac319e6bddf88f95f41e9be.tar.gz bcm5719-llvm-6e8ed789aa966e540ac319e6bddf88f95f41e9be.zip | |
typo
llvm-svn: 168202
| -rw-r--r-- | llvm/include/llvm/ADT/STLExtras.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/ADT/STLExtras.h b/llvm/include/llvm/ADT/STLExtras.h index aee500d4fb6..dacda365212 100644 --- a/llvm/include/llvm/ADT/STLExtras.h +++ b/llvm/include/llvm/ADT/STLExtras.h @@ -246,10 +246,10 @@ inline int array_pod_sort_comparator(const void *P1, const void *P2) { return 0; } -/// get_array_pad_sort_comparator - This is an internal helper function used to +/// get_array_pod_sort_comparator - This is an internal helper function used to /// get type deduction of T right. template<typename T> -inline int (*get_array_pad_sort_comparator(const T &)) +inline int (*get_array_pod_sort_comparator(const T &)) (const void*, const void*) { return array_pod_sort_comparator<T>; } @@ -274,7 +274,7 @@ inline void array_pod_sort(IteratorTy Start, IteratorTy End) { // Don't dereference start iterator of empty sequence. if (Start == End) return; qsort(&*Start, End-Start, sizeof(*Start), - get_array_pad_sort_comparator(*Start)); + get_array_pod_sort_comparator(*Start)); } template<class IteratorTy> |

