Skip to content

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
@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.

4 participants