Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing commas #2691

Merged
merged 1 commit into from
Jul 18, 2023
Merged

add missing commas #2691

merged 1 commit into from
Jul 18, 2023

Conversation

neheb
Copy link
Collaborator

@neheb neheb commented Jul 12, 2023

Formats the structs properly.

@ghost
Copy link

ghost commented Jul 12, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Merging #2691 (4a03b63) into main (029dc9f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #2691   +/-   ##
=======================================
  Coverage   63.91%   63.91%           
=======================================
  Files         103      103           
  Lines       22312    22312           
  Branches    10804    10804           
=======================================
+ Hits        14260    14261    +1     
  Misses       5828     5828           
+ Partials     2224     2223    -1     
Impacted Files Coverage Δ
src/asfvideo.cpp 53.57% <ø> (ø)
src/canonmn_int.cpp 73.17% <ø> (+0.29%) ⬆️
src/casiomn_int.cpp 6.45% <ø> (ø)
src/fujimn_int.cpp 39.62% <ø> (ø)
src/makernote_int.cpp 65.91% <ø> (ø)
src/minoltamn_int.cpp 66.52% <ø> (ø)
src/nikonmn_int.cpp 61.20% <ø> (ø)
src/olympusmn_int.cpp 45.39% <ø> (ø)
src/panasonicmn_int.cpp 52.58% <ø> (ø)
src/pentaxmn_int.cpp 71.36% <ø> (ø)
... and 8 more

@kmilos
Copy link
Collaborator

kmilos commented Jul 13, 2023

Perhaps roll #2690 into this please?

@postscript-dev
Copy link
Collaborator

@neheb

Formats the structs properly.

Is it worth changing .clang-format to enforce this?

@neheb
Copy link
Collaborator Author

neheb commented Jul 13, 2023

What clang-format option?

@neheb
Copy link
Collaborator Author

neheb commented Jul 13, 2023

Apparently there's InsertTrailingCommas, but that requires BinPackArguments to be false. The latter looks horrible.

@postscript-dev
Copy link
Collaborator

@neheb

What clang-format option?

Apparently there's InsertTrailingCommas, but that requires BinPackArguments to be false. The latter looks horrible.

Thanks for checking. A future clang-format version may provide a better option.

@neheb
Copy link
Collaborator Author

neheb commented Jul 13, 2023

So I tried locally with BinPackArguments and InsertTrailingCommas separately. Seems there are no further changes.

Formats the structs properly.

Signed-off-by: Rosen Penev <[email protected]>
@kmilos
Copy link
Collaborator

kmilos commented Jul 18, 2023

So I tried locally with BinPackArguments and InsertTrailingCommas separately. Seems there are no further changes.

So should we commit this to .clang-format then so everyone can use it for future changes?

@neheb
Copy link
Collaborator Author

neheb commented Jul 18, 2023

No because it doesn't work properly.

Copy link
Collaborator

@kmilos kmilos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@neheb neheb merged commit c827648 into Exiv2:main Jul 18, 2023
105 checks passed
@neheb neheb deleted the cm branch July 18, 2023 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants