Skip to content

clang-tidy fixes again #1155

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

Merged
merged 6 commits into from
Apr 12, 2020
Merged

clang-tidy fixes again #1155

merged 6 commits into from
Apr 12, 2020

Conversation

neheb
Copy link
Contributor

@neheb neheb commented Apr 11, 2020

Easier to fun with meson.

@coveralls
Copy link

coveralls commented Apr 11, 2020

Coverage Status

Coverage remained the same at 93.858% when pulling 5a61012 on neheb:hgf into 3beb37e on open-source-parsers:master.

@neheb
Copy link
Contributor Author

neheb commented Apr 11, 2020

Removed the static changes.

neheb added 2 commits April 10, 2020 20:39
Found with readability-redundant-string-init

Signed-off-by: Rosen Penev <[email protected]>
Easier to read.

Found with modernize-raw-string-literal

Signed-off-by: Rosen Penev <[email protected]>
@neheb
Copy link
Contributor Author

neheb commented Apr 11, 2020

Removed noexcept changes,

@dota17
Copy link
Member

dota17 commented Apr 11, 2020

I think the benefit of these macros is to maintain backward compatibility.

@neheb
Copy link
Contributor Author

neheb commented Apr 11, 2020

This is currently not true as explicit and noexcept are already used in the code.

neheb added 4 commits April 11, 2020 17:11
Found with performance*

Signed-off-by: Rosen Penev <[email protected]>
Found with clang's -Wextra-semi-stmt

Signed-off-by: Rosen Penev <[email protected]>
This codebase in C++11. No need for compatibility with C++98.

Signed-off-by: Rosen Penev <[email protected]>
This codebase is C++11 now. No need for this macro.

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

This looks good to me. Thanks for being patient!

@BillyDonahue BillyDonahue merged commit 90ca694 into open-source-parsers:master Apr 12, 2020
@neheb neheb deleted the hgf branch April 12, 2020 05:27
dota17 added a commit to dota17/jsoncpp that referenced this pull request Apr 24, 2020
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.

4 participants