aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorA. Jiang <de34@live.cn>2024-10-16 21:32:02 +0800
committerGitHub <noreply@github.com>2024-10-16 09:32:02 -0400
commit8ce0fb86d3acc066a16637ea5c5691da984707a7 (patch)
tree9c34585a510fb4590bc1c4e4c97b6b5ca455694d /clang/lib/CodeGen/CodeGenModule.cpp
parentfa5d3f6eeb7ca1c58e387ca5513d0255e4874e96 (diff)
downloadllvm-8ce0fb86d3acc066a16637ea5c5691da984707a7.zip
llvm-8ce0fb86d3acc066a16637ea5c5691da984707a7.tar.gz
llvm-8ce0fb86d3acc066a16637ea5c5691da984707a7.tar.bz2
[libc++][NFC] Reduce use of `__add_lvalue_reference_t` (#112497)
Currently, the occurrences of `__add_lvalue_reference_t` in `__split_buffer` and `__assoc_state` are probably meaningless. * In `__split_buffer`, the `__alloc_ref` and `__alloc_const_ref` member typedefs are no longer used. * In `__assoc_state`, we should simply use `_Rp&`, which must be well-formed since it's already required that `sizeof(_Rp)` is well-formed. This PR removes the meaningless usages. The remaining occurrences in `shared_ptr`, `unique_ptr`, and several type traits are meaningful.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions