Skip to content

clang-tidy fixes #1033

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 4 commits into from
Sep 25, 2019
Merged

clang-tidy fixes #1033

merged 4 commits into from
Sep 25, 2019

Conversation

neheb
Copy link
Contributor

@neheb neheb commented Sep 23, 2019

No description provided.

Found with modernize-use-using

Added to .clang-tidy file.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Found with readability-redundant-member-init

Added to .clang-tidy
Found with google-readability-casting

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Found with modernize-use-default-member-init

Signed-off-by: Rosen Penev <rosenp@gmail.com>
@baylesj
Copy link
Contributor

baylesj commented Sep 25, 2019

Thanks! I'm always happy to modernize.

@baylesj baylesj merged commit ae4dc9a into open-source-parsers:master Sep 25, 2019
dota17 pushed a commit to dota17/jsoncpp that referenced this pull request Sep 26, 2019
* [clang-tidy] Replace C typedef with C++ using

Found with modernize-use-using

Added to .clang-tidy file.

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

* [clang-tidy] Remove redundant member init

Found with readability-redundant-member-init

Added to .clang-tidy

* [clang-tidy] Replace C casts with C++ ones

Found with google-readability-casting

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

* [clang-tidy] Use default member init

Found with modernize-use-default-member-init

Signed-off-by: Rosen Penev <rosenp@gmail.com>
@neheb neheb deleted the tidy branch October 11, 2019 21:08
@dota17 dota17 mentioned this pull request Nov 1, 2019
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