Message ID | 20221206-vv-misc-v1-1-4c5bd58c90ca@intel.com |
---|---|
State | Accepted |
Commit | 962296d83059d222b6d481b9d56fb869095b6d96 |
Headers | show |
Series | misc meson.build and clang-format updates | expand |
On Tue, Dec 06, 2022 at 03:46:23PM -0700, Vishal Verma wrote: > Add AlignConsecutiveMacros: true so that blocks of consecutive #defines > can be neatly aligned. > > Cc: Dan Williams <dan.j.williams@intel.com> > Reported-by: Alison Schofield <alison.schofield@intel.com> > Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> > --- Thanks Vishal! Reviewed-by: Alison Schofield <alison.schofield@intel.com> > .clang-format | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.clang-format b/.clang-format > index b6169e1..9ea49bf 100644 > --- a/.clang-format > +++ b/.clang-format > @@ -13,6 +13,7 @@ AccessModifierOffset: -4 > AlignAfterOpenBracket: Align > AlignConsecutiveAssignments: false > AlignConsecutiveDeclarations: false > +AlignConsecutiveMacros: true > #AlignEscapedNewlines: Left # Unknown to clang-format-4.0 > AlignOperands: true > AlignTrailingComments: false > > -- > 2.38.1
diff --git a/.clang-format b/.clang-format index b6169e1..9ea49bf 100644 --- a/.clang-format +++ b/.clang-format @@ -13,6 +13,7 @@ AccessModifierOffset: -4 AlignAfterOpenBracket: Align AlignConsecutiveAssignments: false AlignConsecutiveDeclarations: false +AlignConsecutiveMacros: true #AlignEscapedNewlines: Left # Unknown to clang-format-4.0 AlignOperands: true AlignTrailingComments: false
Add AlignConsecutiveMacros: true so that blocks of consecutive #defines can be neatly aligned. Cc: Dan Williams <dan.j.williams@intel.com> Reported-by: Alison Schofield <alison.schofield@intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> --- .clang-format | 1 + 1 file changed, 1 insertion(+)