diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-14 14:53:14 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-14 14:53:14 +0000 |
commit | 09db991e3797f56424ccd205083df79e4965b93a (patch) | |
tree | 5058e850277cba80c2bf628fecb77b263b67f0fe /llvm/lib/Support/SourceMgr.cpp | |
parent | 0eb262fb28dfdad02413a91892c8ad5c14ba88c8 (diff) | |
download | bcm5719-llvm-09db991e3797f56424ccd205083df79e4965b93a.tar.gz bcm5719-llvm-09db991e3797f56424ccd205083df79e4965b93a.zip |
array_pod_sort: Since we're checking the length anyways also ignore one-element ranges
Sorting them is obviously a noop and we can skip the libc call. This is
surprisingly common in clang. NFC.
llvm-svn: 232265
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions