gecko-dev/tools/clang-tidy
Jeff Gilbert 85bbcbfa5e Bug 1602143 - Use ShortStatementLines=1 for readability-braces-around-statements. r=andi
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
2021-02-18 08:26:11 +00:00
..
test Bug 1602143 - Use ShortStatementLines=1 for readability-braces-around-statements. r=andi 2021-02-18 08:26:11 +00:00
config.yaml Bug 1602143 - Use ShortStatementLines=1 for readability-braces-around-statements. r=andi 2021-02-18 08:26:11 +00:00