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

IWYU for tests #42806

Merged
merged 2 commits into from
Aug 9, 2020
Merged

IWYU for tests #42806

merged 2 commits into from
Aug 9, 2020

Conversation

kevingranade
Copy link
Member

Summary

SUMMARY: None

Purpose of change

Still chasing down build overhead from includes.

Describe the solution

Ran IWYU across tests and lightly edited the results.

Testing

Build and hopefully some teensy CBA improvements.

@kevingranade kevingranade requested a review from KorGgenT as a code owner August 8, 2020 20:31
@anothersimulacrum anothersimulacrum added [C++] Changes (can be) made in C++. Previously named `Code` Code: Build Issues regarding different builds and build environments Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style labels Aug 8, 2020
@ZhilkinSerg ZhilkinSerg merged commit c5ccf0c into CleverRaven:master Aug 9, 2020
@kevingranade kevingranade deleted the IWUY-tests branch August 9, 2020 21:12
#include "cata_generators.h"
#include "stringmaker.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

There are a few places where you've removed stringmaker.h. This specializes some templates to customize Catch2 output and should remain. I don't think there's any way for IWYU to know this so I guess it will have to get a pragma everywhere we include it.

Don't know whether you want to go to the trouble of reverting this now, but it's something to bear in mind for the future if you run IWYU again or see {?} printed out in test results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Code: Build Issues regarding different builds and build environments Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants