]> granicus.if.org Git - llvm/commit
[ADT] Fix template parameter names of llvm::{upper|lower}_bound
authorIlya Biryukov <ibiryukov@google.com>
Thu, 11 Apr 2019 09:00:36 +0000 (09:00 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Thu, 11 Apr 2019 09:00:36 +0000 (09:00 +0000)
commit287b2fefe4753e1e03f83b28f3fa318bef26a8fe
tree779c9fa8b1fec329690f2b754ebf6752d87c731c
parent69455d8a7865614d56f12d7d16334f240efd5de9
[ADT] Fix template parameter names of llvm::{upper|lower}_bound

Summary:
Rename template parameter for a search value from 'ForwardIt' to 'T'.
While here, also use perfect forwarding to pass the value to STL algos.

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D60510

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358158 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/STLExtras.h