Reformat with Never-AlignTrailingComments style
clang-format currently formats the codes to align the trailing comments
of the consecutive lines via `AlignTrailingComments/Kind` as `Always` in
`.clang-format` file.
This could shift the comment lines by the neighboring code changes and
also potentially mislead the `diff` of code changes.
This commit is to keep the existing trailing comments as they were.
Tested:
- Check whitespace only
- Code compiles & CI passes.
Change-Id: I1c64d53572a81d5012aa748fe44478f80c271c5f
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
diff --git a/.clang-format b/.clang-format
index 28e3328..39dcdb7 100644
--- a/.clang-format
+++ b/.clang-format
@@ -8,7 +8,7 @@
AlignEscapedNewlines: Right
AlignOperands: Align
AlignTrailingComments:
- Kind: Always
+ Kind: Never
OverEmptyLines: 1
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Empty