mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00

This will reduce the false-positive rate that sometimes causes devs to ignore other important warnings because they expect to see these warnings because of module/legacy code styles. ``` if (foo) return; // no longer warns if (bar) return; // still warns ``` clang-format will sometimes turn long-line versions of the former into the latter, and this warning will pick those as readability warnings. NB: This is Chromium style for same-line conditional statements. Another test result json has its EOL-newline removed too, since that's what the script does and I'm just committing its results. Differential Revision: https://phabricator.services.mozilla.com/D105497