forked from cilium/cilium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.clang-format: Re-write and re-license .clang-format
As part of the effort to harmonise licensing for the different files in the project, rewrite the .clang-format from scratch, and remove the attached GPL v2 license. I went through all options for clang-format <= 15 currently described on https://clang.llvm.org/docs/ClangFormatStyleOptions.html, set them to the value we desire, and commented out the ones that are not relevant to Cilium's BPF code. Tweaks for penalties were kept from commit b482af0 ("Apply initial cilium-specific tweaks"). Obviously, there are some similarities with the previous version, given that it's a config file and that we still want more or less the same config as before. I didn't use any particular license marker, because I don't see it relevant for a config file; if one is necessary, the file now falls under the license global to the repository (Apache v2.0). Signed-off-by: Quentin Monnet <[email protected]>
- Loading branch information
Showing
1 changed file
with
106 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters