Skip to content

Fix some issues found with clang-tidy#4353

Merged
matejk merged 4 commits intopocoproject:develfrom
teksturi:clang-tidy-bugs
Dec 17, 2023
Merged

Fix some issues found with clang-tidy#4353
matejk merged 4 commits intopocoproject:develfrom
teksturi:clang-tidy-bugs

Conversation

@teksturi
Copy link
Copy Markdown
Contributor

Clang-tidy did find some problems from code. I choose to fix these separately as it makes it easier to automate clang-tidy at some point.


Every commit has own fix type and they have messages. Look them separately so reviewing is easier.

Kari Argillander added 4 commits December 16, 2023 23:57
Add missing inline to inline function.

This was found with clang-tidy check:  misc-definitions-in-headers
throw() has been deprecated in standar in C++17. It has been removed in
C++20. Code still compiles but let's just define these at those should
be.

These where found with clang-tidy check: modernize-use-noexcept
Clang-tidy did find these with check:

  performance-unnecessary-copy-initialization
Looks like these are just missing reference marks.
Copy link
Copy Markdown
Contributor

@matejk matejk left a comment

Choose a reason for hiding this comment

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

I approve the changes.

IMO this PR is safe to be included to 1.13. @aleks-f ?

@matejk matejk added this to the Release 1.13.0 milestone Dec 17, 2023
@matejk matejk merged commit bf3c519 into pocoproject:devel Dec 17, 2023
@teksturi teksturi deleted the clang-tidy-bugs branch December 17, 2023 16:36
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.

2 participants