clang-format
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 25 repliesIn review
- v1 RFC1 patch 35 repliesSuperseded
Changes in v2 from the cover letter
* Changed a couple rules to be more inline with our coding style.
* Added a Makefile build rule to run git-clang-format on the diff of the working tree to suggest style changes.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | clang-format: outline the git project's coding style.clang-format | +165 | 11 replies | |
| 2/2 | Makefile: add style build ruleMakefile | +4 | 8 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] clang-format
Changes in v2:
* Changed a couple rules to be more inline with our coding style.
* Added a Makefile build rule to run git-clang-format on the diff of the working tree to suggest style changes.
I found that the llvm project also has the git-clang-format tool which will allow for doing formating changes based on diffs so that the parts of the code you didn't touch won't be formated. It also has a nice '-p' option to only apply hunks of suggested changes. I also saw what Ramsay did and attempted to add a Makefile rule to run clang-format. This bit may need more tweaking to get it right.
Brandon Williams (2):
clang-format: outline the git project's coding style
Makefile: add style build rule
.clang-format | 165 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Makefile | 4 ++ 2 files changed, 169 insertions(+) create mode 100644 .clang-format
Signature · 1 line
2.14.1.480.gb18f417b89-goog