HomePhabricator

Turn -Wmax-tokens off by default

Authored by hans on Fri, May 15, 8:20 AM.

Description

Turn -Wmax-tokens off by default

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.

Differential revision: https://reviews.llvm.org/D80014

Details

Committed
hansMon, May 18, 4:21 AM
Differential Revision
D80014: Turn -Wmax-tokens off by default
Parents
rGe47c101e35fd: [InstCombine][NFC] Simplify check in sinking
Branches
Unknown
Tags
Unknown