Found out when discussing D83902
When the return value of forward is rvalue, we get a const iterator out of std::begin/end, which is not expected.
Paths
| Differential D84273
[NFCI] Remove unneeded std::forward Needs ReviewPublic Authored by ychen on Jul 21 2020, 3:23 PM. This revision needs review, but there are no reviewers specified.
Details
Summary Found out when discussing D83902 When the return value of forward is rvalue, we get a const iterator out of std::begin/end, which is not expected.
Diff Detail
Revision Contents
Diff 279642 llvm/include/llvm/ADT/STLExtras.h
llvm/include/llvm/ADT/iterator.h
|
clang-tidy: warning: invalid case style for function 'adl_begin' [readability-identifier-naming]
not useful
clang-tidy: warning: invalid case style for parameter 'container' [readability-identifier-naming]
not useful