This is an archive of the discontinued LLVM Phabricator instance.

Turn -Wmax-tokens off by default
ClosedPublic

Authored by hans on May 15 2020, 8:25 AM.

Details

Summary

On the one hand, one might interpret the use of the max-token pragmas or -fmax-tokens flag as an opt-in to the warning. However, in Chromium we've found it useful to only opt in selected build configurations, even though we have the pragmas in the code. For that reason, we think it makes sense to turn it off by default.

Diff Detail

Event Timeline

hans created this revision.May 15 2020, 8:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 15 2020, 8:25 AM
thakis accepted this revision.May 15 2020, 8:43 AM
This revision is now accepted and ready to land.May 15 2020, 8:43 AM
This revision was automatically updated to reflect the committed changes.