Leonard Chan would like Owners Override to review this change.
[clang] Fix instances of conversions from iterators to raw pointers
https://github.com/llvm/llvm-project/pull/74482 in upstream libc++
changed the return type of various iterator functions (*.begin(),
*.end(), etc) from raw pointers to iterator objects. The return types
for these functions aren't guaranteed to be raw pointers, but we have a
bunch of c++ code that assumes they are. We can get pointers from these
iterators by simply dereferencing them and taking their address (`&*iter`).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Adding Owners Override because this is a large change with trivial fixes that touch many files.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +2 |
| Owners-Override | +1 |
Seems fine - a few places seem to have extra parens but that's not a huge deal.
In the future please get a CR+2 from someone before requesting owners override.
Looks like you'll need API-Review as well - I don't have that bit (and owners override doesn't override it).
if constexpr (len + first_bit_idx_in_cell == 64) {this looks like an unrelated change
std::string_view key(&(*pos), key_end - pos);why the extra parens?
i see them in changes later in the diff as well
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Seems fine - a few places seem to have extra parens but that's not a huge deal.
In the future please get a CR+2 from someone before requesting owners override.
Looks like you'll need API-Review as well - I don't have that bit (and owners override doesn't override it).
Who might I be able to add to get an API review?
if constexpr (len + first_bit_idx_in_cell == 64) {this looks like an unrelated change
Removed
std::string_view key(&(*pos), key_end - pos);why the extra parens?
i see them in changes later in the diff as well
This was before I tried making a clang fixit to automate adding the `&*` to each of these errors. I couldn't figure out how to add the parentheses automatically. The shouldn't be necessary though.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +2 |
Leonard ChanSeems fine - a few places seem to have extra parens but that's not a huge deal.
In the future please get a CR+2 from someone before requesting owners override.
Looks like you'll need API-Review as well - I don't have that bit (and owners override doesn't override it).
Who might I be able to add to get an API review?
It looks like the FIDL library edit is triggering the API review bit and ianloic@ is the API owner for FIDL per https://fuchsia.dev/fuchsia-src/contribute/governance/api_council?hl=en#membership
| Code-Review | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| API-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Leonard Chan removed Owners Override from reviewers of this change.
[clang] Fix instances of conversions from iterators to raw pointers
https://github.com/llvm/llvm-project/pull/74482 in upstream libc++
changed the return type of various iterator functions (*.begin(),
*.end(), etc) from raw pointers to iterator objects. The return types
for these functions aren't guaranteed to be raw pointers, but we have a
bunch of c++ code that assumes they are. We can get pointers from these
iterators by simply dereferencing them and taking their address (`&*iter`).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Leonard Chan would like Owners Override to review this change.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[clang] Fix instances of conversions from iterators to raw pointers
https://github.com/llvm/llvm-project/pull/74482 in upstream libc++
changed the return type of various iterator functions (*.begin(),
*.end(), etc) from raw pointers to iterator objects. The return types
for these functions aren't guaranteed to be raw pointers, but we have a
bunch of c++ code that assumes they are. We can get pointers from these
iterators by simply dereferencing them and taking their address (`&*iter`).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Change has been successfully rolled: http://go/roll-cl/23d1c8a279ffd4a4a25c29a91f7b7404f0939fe5
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |