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

Cleanup warnings. #5247

Merged
merged 1 commit into from
Jan 31, 2020
Merged

Cleanup warnings. #5247

merged 1 commit into from
Jan 31, 2020

Conversation

trivialfis
Copy link
Member

From clang-tidy-9 and gcc-7: Invalid case style, narrowing definition, wrong
initialization order, unused variables.

From clang-tidy-9 and gcc-7: Invalid case style, narrowing definition, wrong
initialization order, unused variables.
@codecov-io
Copy link

codecov-io commented Jan 30, 2020

Codecov Report

Merging #5247 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5247   +/-   ##
=======================================
  Coverage   81.66%   81.66%           
=======================================
  Files          11       11           
  Lines        2389     2389           
=======================================
  Hits         1951     1951           
  Misses        438      438

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 472ded5...9dd7b56. Read the comment docs.

@hcho3
Copy link
Collaborator

hcho3 commented Jan 30, 2020

Why are we removing num_elements from adapters?

@RAMitchell
Copy link
Member

Its unused I think. Any way to make these checks part of CI? That way you won't have to cleanup after me in future :)

@hcho3
Copy link
Collaborator

hcho3 commented Jan 30, 2020

@RAMitchell CI already runs clang-tidy, but an older version of it (7):

apt-get install -y tar unzip wget git build-essential python3 python3-pip llvm-7 clang-tidy-7 clang-7 && \

Maybe we should upgrade clang-tidy to 9?

@RAMitchell
Copy link
Member

Sounds good!

@trivialfis
Copy link
Member Author

It requires adding latest llvm distribution to CI I believe. Will do that after the release.

@trivialfis trivialfis merged commit fe8d72b into dmlc:master Jan 31, 2020
@trivialfis trivialfis deleted the sanity branch January 31, 2020 06:52
@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants