| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The formatter should try and reflow comments to fit within the 80
character column limit
BRANCH=none
BUG=none
TEST=verified that long comments get formatted to wrap within the 80
column limit within VScode
Change-Id: I219e8e4d55ebbb7931d1b0e9fb41c7f48744d2aa
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1937887
Tested-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Linux kernel now has an official .clang-format file
available. Import this file to EC codebase.
Changes made:
- Uncommented options that were disabled since kernel targets
clang-format 4.0, but we have 9.0 in the chroot
- Removed kernel-specific foreach macros
BUG=none
BRANCH=none
TEST=clang-formatted some files, made sure they looked Linux-kernel
like
Change-Id: I8255fad43f965186852f82120ed07ca5f7fff643
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1718830
Reviewed-by: Raul E Rangel <rrangel@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These options direct the formatter to enforce style which is closer to
the EC codebase status quo:
- no single line functions
- avoid function return type on a separate line
BRANCH=none
BUG=none
TEST=ran clang-format and observed desired behavior
Change-Id: I62012f58483f11c46925f2c6c4c6fff72b9e90f8
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1496204
Reviewed-by: Raul E Rangel <rrangel@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a no-op change making it easier to look up included style
options.
BRANCH=none
BUG=none
TEST=none
Change-Id: I5bc1e2c436ffbfef8bd1b28acf77fc34f180f39c
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1496203
Reviewed-by: Raul E Rangel <rrangel@chromium.org>
|
|
Copied from coreboot.
BUG=none
BRANCH=none
TEST=Tried formatting a few lines.
Change-Id: Iff9e6970cb8d725834f5f1f0c6447b62568a6f09
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1038156
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
|