diff options
| author | Peter Jones <pjones@redhat.com> | 2021-01-29 14:01:28 -0500 |
|---|---|---|
| committer | Peter Jones <pmjones@gmail.com> | 2021-01-29 18:24:57 -0500 |
| commit | 5e3d9cd9985d700a871e329cea90721532888adf (patch) | |
| tree | 0fcaacb032710ef74a7ac72b38e68ac18854bab7 /lib/variables.c | |
| parent | 4b0a61dc9a952028c7b1ccc8914835d989ce661e (diff) | |
| download | efi-boot-shim-5e3d9cd9985d700a871e329cea90721532888adf.tar.gz efi-boot-shim-5e3d9cd9985d700a871e329cea90721532888adf.zip | |
Add a .clang-format file.
There's clearly not enough conformance to a single coding style here.
To some extent that can't really change - I don't intend to adopt edk2's
style for the main codebase, but re-formatting the code we borrow from
edk2 would be insane.
This commit adds a .clang-format file, to be used on new files as such:
clang-format --style=file -i foo.c
It can also be used when new free-standing code is added to existing
files, using the clang-format --lines= option.
The starting style in this is pretty close to the Linux kernel style,
with a couple of minor modifications.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/variables.c')
0 files changed, 0 insertions, 0 deletions
