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

check for unused includes in C++ #64

Open
mikaelarguedas opened this issue Oct 28, 2016 · 2 comments
Open

check for unused includes in C++ #64

mikaelarguedas opened this issue Oct 28, 2016 · 2 comments
Labels
enhancement New feature or request

Comments

@mikaelarguedas
Copy link
Contributor

It seems that cpplint's include_what_you_use doesn't check for unused included headers.
It would be great to either extend it or use another static analysis tool to check this

@mikaelarguedas mikaelarguedas added the enhancement New feature or request label Oct 28, 2016
@wjwwood
Copy link
Contributor

wjwwood commented Oct 28, 2016

I think you'd either need https://github.com/include-what-you-use/include-what-you-use or Google's cppclean https://github.com/myint/cppclean.

@mikaelarguedas
Copy link
Contributor Author

Indeed these are the too options I was considering. Should have provided the links, thanks for doing it!

@dirk-thomas dirk-thomas changed the title C++ unused includes not checked check for unused includes in C++ Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants