diff options
author | James Touton <bekenn@gmail.com> | 2024-01-09 11:41:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 20:41:24 +0100 |
commit | 65a1efc60ca390cb68409fd27d5648b4caa6cb54 (patch) | |
tree | 57a4eef8be457fd879a9c5fc926f6ddf8d5060fe /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0804ef2d1539fde7f45e18e4f87d99f7019f9aae (diff) | |
download | llvm-65a1efc60ca390cb68409fd27d5648b4caa6cb54.zip llvm-65a1efc60ca390cb68409fd27d5648b4caa6cb54.tar.gz llvm-65a1efc60ca390cb68409fd27d5648b4caa6cb54.tar.bz2 |
Fixed shared_ptr comparisons with nullptr_t when spaceship is unavailable. (#76781)
This was causing compilation errors when attempting to compare a
`shared_ptr<T[]>` with `nullptr`, as `get()` returns `T*` rather than `T
(*)[]`. `unique_ptr` did not have this issue, but I've added tests to
make sure.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions