aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>2021-08-19 15:06:21 -0400
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>2021-08-22 11:43:12 -0400
commitca7926bd79426fbd8b752d6513c77951db35109f (patch)
tree458a0491e96953cf010d6334d3b077d7388e6a89 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parentfafe5a6f44c6eebb723844bc04275d23b520400c (diff)
downloadllvm-ca7926bd79426fbd8b752d6513c77951db35109f.zip
llvm-ca7926bd79426fbd8b752d6513c77951db35109f.tar.gz
llvm-ca7926bd79426fbd8b752d6513c77951db35109f.tar.bz2
[libc++] Eliminate needless `add_lvalue_reference` from <algorithm> helpers. NFCI.
When `_Compare` is a function parameter already (so it's not `void` and it's not an abominable function type), `add_lvalue_reference_t<_Compare>` is simply a synonym for `_Compare&`. We don't need to pull in `<type_traits>` and instantiate a template trait to figure that out. Differential Revision: https://reviews.llvm.org/D108400
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions