This is an archive of the discontinued LLVM Phabricator instance.

[clang] Add a -canonical-prefixes option
ClosedPublic

Authored by thakis on Aug 27 2021, 7:23 AM.

Details

Summary

In https://reviews.llvm.org/D47480 I complained that there's no positive
form of this flag, so let's add one :)

https://gcc.gnu.org/PR29931 also has a pending patch to add the positive
form to gcc (but there's admittedly not a lot of movement on that bug).

This doesn't change any defaults.

Diff Detail

Event Timeline

thakis created this revision.Aug 27 2021, 7:23 AM
thakis requested review of this revision.Aug 27 2021, 7:23 AM
rnk accepted this revision.Aug 30 2021, 8:49 PM
rnk added a reviewer: jansvoboda11.

lgtm

+@jansvoboda11 for lack of a better alternative owner for Driver patches.

This revision is now accepted and ready to land.Aug 30 2021, 8:49 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2021, 11:51 AM