This is an archive of the discontinued LLVM Phabricator instance.

clang: Fix assert on void pointer arithmetic with address_space
ClosedPublic

Authored by arsenm on Oct 31 2019, 9:07 AM.

Details

Summary

This attempted to always use the default address space void pointer
type instead of preserving the source address space.

Diff Detail

Event Timeline

arsenm created this revision.Oct 31 2019, 9:07 AM

Is the description reversed?

This attempts to preserve the source address space instead of always using the default address space for void pointer type.

Is the description reversed?

This attempts to preserve the source address space instead of always using the default address space for void pointer type.

I don't think so? This now preserves it, it did not before

Communication problem:

This attempted to always use the default address space void pointer type instead of preserving the source address space.

Where "This" is the old code. Replace "This" in the commit message with some more descriptive wording and the confusion will go away :)

yaxunl accepted this revision.Oct 31 2019, 6:10 PM

LGTM

This revision is now accepted and ready to land.Oct 31 2019, 6:10 PM