This is an archive of the discontinued LLVM Phabricator instance.

[Clang][OpaquePtr] Remove calls to deprecated Address constructor
ClosedPublic

Authored by rtrieu on Feb 10 2022, 3:51 PM.

Details

Summary

Explicitly specify element type when constructing Address in CGExpr.cpp. There's one more in EmitLoadOfPointer that was a little trickier, so it was not changed. That one seems to only affect OpenMP tests.

Diff Detail

Event Timeline

rtrieu requested review of this revision.Feb 10 2022, 3:51 PM
rtrieu created this revision.
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: sstefan1. · View Herald Transcript
aeubanks accepted this revision.Feb 10 2022, 4:09 PM
aeubanks added a reviewer: Restricted Project.

lg, thanks!
I was just looking at one of these when trying to build Chrome with opaque pointers

This revision is now accepted and ready to land.Feb 10 2022, 4:09 PM
This revision was landed with ongoing or failed builds.Feb 11 2022, 1:06 PM
This revision was automatically updated to reflect the committed changes.