coreboot-kgpe-d16/util/lint
Martin Roth 57f1162363 util/lint: Ignore braces around single line statements
In a recent coreboot leadership meeting, the decision was made to allow
(but not require) braces around single line statements if the author
wishes to put them in.

This patch removes the checks for single line statement blocks, while
still checking for other issues in braces.

Just because they're allowed now, please do not reformat the entire
codebase to add them. coreboot has a policy of not making widespread
changes to the entire codebase unless something actually violates the
style guidelines.

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I137b10889ec880959c4c1b035dc54bf8ebf32488
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73515
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-03-07 21:34:11 +00:00
..
Makefile util: Add SPDX license headers to Makefiles 2022-11-22 12:47:09 +00:00
check-style
check_lint_tests
checkpatch.pl util/lint: Ignore braces around single line statements 2023-03-07 21:34:11 +00:00
checkpatch_json.py
const_structs.checkpatch
coreboot.dict
description.md
helper_functions.sh util/lint: Fix linting outside of git repos 2022-10-21 14:30:42 +00:00
kconfig_lint util/lint: Ignore fmd files when evaluating Kconfig symbols 2022-11-24 17:52:07 +00:00
kconfig_lint_README
lint
lint-000-license-headers util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-001-no-global-config-in-romstage
lint-007-checkpatch util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-008-kconfig util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-014-qualified-types util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-extended-007-checkpatch util/lint: Fix linting outside of git repos 2022-10-21 14:30:42 +00:00
lint-extended-015-final-newlines util/lint: Fix linting outside of git repos 2022-10-21 14:30:42 +00:00
lint-extended-020-signed-off-by util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-000-license-headers
lint-stable-003-whitespace lint/lint-stable-003-whitespace: Fix excludelist 2023-03-04 19:38:30 +00:00
lint-stable-004-style-labels util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-005-board-status util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-006-board-name
lint-stable-008-kconfig util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-009-old-licenses util/lint: Fix linting outside of git repos 2022-10-21 14:30:42 +00:00
lint-stable-010-asm-syntax util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-012-executable-bit util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-013-site-local util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-016-non-ascii util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-017-configs util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-018-symlinks util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-019-header-files util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-021-coreboot-lowercase util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-022-clang-format util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-023-filenames util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-024-kconfig-no-subsystem
lint-stable-026-line-endings util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-027-maintainers-syntax
lint-stable-028-touchpad-probed-warning
remccoms3.sed
spelling.txt