diff options
author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2022-01-19 07:29:05 -0500 |
---|---|---|
committer | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2022-01-27 14:21:50 -0500 |
commit | 8c98ce4dfa7966db48ca22ae6b2a9b6c3cc69648 (patch) | |
tree | 3a9f0452f44aa1bea8e44085488ce933b4fd6859 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 9be5f4d5afd9a1b6e88a268f6ea6eb282d77d9fe (diff) | |
download | llvm-8c98ce4dfa7966db48ca22ae6b2a9b6c3cc69648.zip llvm-8c98ce4dfa7966db48ca22ae6b2a9b6c3cc69648.tar.gz llvm-8c98ce4dfa7966db48ca22ae6b2a9b6c3cc69648.tar.bz2 |
[libc++] Fix a typo in reverse_iterator::operator=.
We should be checking `is_assignable<It&, ...>`.
`is_assignable<It, ...>` checks for an rvalue left-hand side, which
is basically never assignable-to.
Found while looking into https://cplusplus.github.io/LWG/issue3435 .
Differential Revision: https://reviews.llvm.org/D117660
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions