aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleAll.cpp
diff options
context:
space:
mode:
authorGravatar brucedawson <brucedawson@chromium.org>2015-01-30 12:57:50 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-30 12:57:50 -0800
commitaea85dc3d332c963f5b85460036951ae3386683a (patch)
treea56a6fdb9321e21c49c2c1ba591b44fc4220b8fb /samplecode/SampleAll.cpp
parent8a8100349105c8c6de39fcb34e47679da7a67f54 (diff)
Disable the noisiest /analyze warning in Chrome. ~3,700/12,000
Decades ago Intel decided that the bsr (Bit Scan Reverse) instruction should have undefined results if its argument is zero. This probably makes the instruction harder to implement and it definitely makes it more difficult to use. In SkCLZ_portable it requires a check for a zero argument, but despite that check /analyze still warns that _BitScanReverse might fail (because it doesn't know what can cause failures). Because this warning occurs in a frequently included header file it ends up being very noisy, accounting for ~30% of all warnings (before deduplication). Suppressing this useless warning will make the raw results easier to look through. Review URL: https://codereview.chromium.org/872673007
Diffstat (limited to 'samplecode/SampleAll.cpp')
0 files changed, 0 insertions, 0 deletions