diff options
| author | Xiaoyang Liu <siujoeng.lau@gmail.com> | 2024-05-16 13:25:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-16 19:25:04 +0200 |
| commit | f03430f5e37e8eb64878dc538b05210adea2d80f (patch) | |
| tree | cf184c7b7ea3cc732a536c30e011cac7621ed878 /lldb/source/Commands/CommandObjectThread.cpp | |
| parent | bd6c358d01f6ebc3851996e2c29c47b08e992525 (diff) | |
| download | llvm-f03430f5e37e8eb64878dc538b05210adea2d80f.zip llvm-f03430f5e37e8eb64878dc538b05210adea2d80f.tar.gz llvm-f03430f5e37e8eb64878dc538b05210adea2d80f.tar.bz2 | |
[libc++] LWG3672: `common_iterator::operator->()` should return by value (#87899)
## Abstract
This pull request implements LWG3672: `common_iterator::operator->()`
should return by value. The current implementation specifies that this
function should return the underlying pointer by reference (`T*
const&`), but it would be more intuitive to return it by value (`T*`).
## Reference
- [Draft C++ Standard:
[common.iter.access]](https://eel.is/c++draft/common.iter.access)
- [LWG3672](https://cplusplus.github.io/LWG/issue3672)
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions
