[PATCH] D84090: [clang-format] Add BitFieldColonSpacing option
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 20 08:33:13 PDT 2020
MyDeveloperDay added a comment.
Nit:clang-format the patch
Here is a Tip as to what I do (In case it helps other):
1. I generate the diff off the staged items so I've already git added all the files I'm working on.
2. then I can do `git clang-format`, this will fix up any files in the diff that need formatting (you'll need to git add them again if they have)
3. I then check the documentation builds with `/usr/bin/sphinx-build -n ./docs ./html` (if the review contains rst files)
4. then I do `git diff --cached -U999999 > patch_to_submitt.diff`
5. I check the patch to ensure I'm not changing the mode of the files with `grep -A0 -B2 "new mode" patch_to_submitt.diff`
6. and this is the patch_tosubmitt.diff I upload to the review
These steps try to reduce the number of review fails I get based on clang-format issues (all of this is scripted so making a patch is repeatable, quick and easy and all based off whats in my staged area)
Apart from that this patch LGTM (Before and After are good names)
But please clang-format before pushing (including the tests)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84090/new/
https://reviews.llvm.org/D84090
More information about the cfe-commits
mailing list