coreboot-kgpe-d16/util/lint
Edward O'Callaghan 4139c15276 util/gitconfig/pre-commit: Use clang-format to sanitise commits
Use the `git-format' tool to sanitise coreboot commits such that
they conform to coreboot's coding style.

This fancy piece of machinary allows one to have LibFormat from
Clang to automatically check your commit conforms to coreboot's
coding style, fix any issues automatically and provides you a
diff you may review and apply at your convenience.

N.B. When the `clang-format' binary is not found we issue a warning
that the test was skipped and carry on as usual. Hence, this is
strictly non-enforcing at this current time. You may use it at your
leisure.

Change-Id: If49017ea82f0707efd47cae5978a286a9af8f3b7
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: https://review.coreboot.org/c/8037
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-01-04 10:37:10 +00:00
..
check-style util/gitconfig/pre-commit: Use clang-format to sanitise commits 2019-01-04 10:37:10 +00:00
check_lint_tests arch/power8: Rename to ppc64 2018-11-30 20:02:17 +00:00
checkpatch.pl util/lint: update checkpatch.pl to latest linux version 2018-08-13 12:32:15 +00:00
checkpatch_json.py util: Fix shebang for python2 scripts 2018-11-18 09:12:22 +00:00
const_structs.checkpatch
description.md util: Add description.md to each util 2018-07-26 13:26:50 +00:00
kconfig_lint treewide: use /usr/bin/env where appropriate 2018-11-17 07:32:03 +00:00
kconfig_lint_README
lint util/lint: use a more compact output format 2018-06-01 16:25:54 +00:00
lint-000-license-headers lint-000-license-headers: add SPDX-License-Identifier: GPL-2.0-or-later 2018-09-14 08:54:28 +00:00
lint-001-no-global-config-in-romstage
lint-007-checkpatch util/lint: Exclude util/superiotool from checkpatch 2018-08-20 15:21:50 +00:00
lint-008-kconfig util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-014-qualified-types util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-022-clang-format util/lint: Add check that changes conform to clang-format style 2018-05-31 15:33:59 +00:00
lint-extended-007-checkpatch util/lint: Run lint-extended-007-checkpatch checks in parallel 2018-06-12 11:11:54 +00:00
lint-extended-015-final-newlines util/lint: Run lint-extended-007-final-newlines checks in parallel 2018-06-14 08:42:30 +00:00
lint-extended-020-signed-off-by util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-000-license-headers util/lint: Update lint-stable-000-license-headers linter 2018-07-06 15:31:51 +00:00
lint-stable-003-whitespace util/lint: update whitespace checking rules 2018-09-04 12:38:56 +00:00
lint-stable-004-style-labels util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-005-board-status
lint-stable-006-board-name
lint-stable-008-kconfig util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-009-old-licenses util/lint: Ignore whitespace, newlines, and licenses in vbt files 2018-05-09 16:19:36 +00:00
lint-stable-010-asm-syntax
lint-stable-012-executable-bit lint-stable: Only check files tracked by git (ie source files) for +x 2017-12-05 15:04:11 +00:00
lint-stable-013-site-local util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-016-non-ascii util/lint: Make the non-ascii character check stable 2018-05-22 03:10:31 +00:00
lint-stable-017-configs util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-018-symlinks util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-019-header-files util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-021-coreboot-lowercase util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-023-filenames util/lint: Add filename checker 2018-06-07 06:27:08 +00:00
remccoms3.sed
spelling.txt util/lint/spelling.txt: Protect "acknowledgement" entry 2018-12-18 13:26:15 +00:00