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

Remove public includes of <iomanip> #4330

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

IncludeGuardian
Copy link

This commit removes <iomanip> from public GoogleTest header files.

As <iomanip> is not a common included file, its content is unlikely to be included in translation units other than through GoogleTest includes.

By reducing the number of include directives public headers in GoogleTest, this may reduce the time taken to compile tests as it would reduce the amount of work that the preprocessor and compiler front-end need to do.

This commit removes `<iomanip>` from public GoogleTest header files.

As `<iomanip>` is not a common included file, its content is unlikely
to be included in translation units other than through GoogleTest
includes.

By reducing the number of include directives public headers in
GoogleTest, this may reduce the time taken to compile tests as it would
reduce the amount of work that the preprocessor and compiler front-end
need to do.
@google-cla
Copy link

google-cla bot commented Aug 3, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@derekmauro derekmauro self-assigned this Aug 7, 2023
@derekmauro derekmauro added the priority: p2 Moderately important; Fix may not be in the next release. label Aug 7, 2023
@copybara-service copybara-service bot merged commit 89b2557 into google:main Aug 8, 2023
1 check passed
@joshqti
Copy link

joshqti commented Aug 10, 2023

Can we revert this change? This broke our automated build system. That header is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately important; Fix may not be in the next release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants