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

clang-tidy: range for loop conversions #1596

Merged
merged 1 commit into from
May 3, 2021
Merged

clang-tidy: range for loop conversions #1596

merged 1 commit into from
May 3, 2021

Conversation

neheb
Copy link
Collaborator

@neheb neheb commented Apr 29, 2021

Found with modernize-loop-convert

Ran through git clang-format.

Also removed several questionable loops and replaced with simpler
algorithms.

Signed-off-by: Rosen Penev rosenp@gmail.com

@neheb neheb force-pushed the def branch 7 times, most recently from 6902719 to 1eefca2 Compare April 29, 2021 08:45
src/epsimage.cpp Outdated Show resolved Hide resolved
samples/easyaccess-test.cpp Outdated Show resolved Hide resolved
samples/exifdata.cpp Show resolved Hide resolved
@neheb neheb force-pushed the def branch 8 times, most recently from bce1a4e to 28e9395 Compare May 3, 2021 07:07
piponazo
piponazo previously approved these changes May 3, 2021
Copy link
Collaborator

@piponazo piponazo left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for this nice contribution!

Could you please rebase your branch in top of main? It looks like there are some compiler errors on the appveyor builds.

Found with modernize-loop-convert

Ran through git clang-format.

Also removed several questionable loops and replaced with simpler
algorithms.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
@neheb
Copy link
Collaborator Author

neheb commented May 3, 2021

Rebased.

@piponazo piponazo merged commit 4ceb325 into Exiv2:main May 3, 2021
@neheb neheb deleted the def branch May 3, 2021 19:34
nehaljwani added a commit to nehaljwani/exiv2 that referenced this pull request Jan 18, 2023
This is a partial backport of Exiv2#1596
This serves as a work around for a weird bug in Apple Clang 14.0.*

xref: https://stackoverflow.com/q/75153729/1005215
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