This is an archive of the discontinued LLVM Phabricator instance.

[OpaquePtrs][Clang] Add -opaque-pointers/-no-opaque-pointers cc1 options
ClosedPublic

Authored by nikic on Apr 4 2022, 8:04 AM.

Details

Summary

This adds cc1 options for enabling and disabling opaque pointers on the clang side. This is not super useful now (because -mllvm -opaque-pointers and -Xclang -opaque-pointers have the same visible effect) but will be important once opaque pointers are enabled by default in clang. In that case, it will only be possible to disable them using the cc1 -no-opaque-pointers option.

Diff Detail

Event Timeline

nikic created this revision.Apr 4 2022, 8:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2022, 8:04 AM
Herald added a subscriber: dexonsmith. · View Herald Transcript
nikic requested review of this revision.Apr 4 2022, 8:04 AM
aeubanks accepted this revision.Apr 4 2022, 9:24 AM
This revision is now accepted and ready to land.Apr 4 2022, 9:24 AM
dblaikie accepted this revision.Apr 4 2022, 9:25 AM
dblaikie added a subscriber: dblaikie.

Sounds good to me

Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2022, 1:15 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript