Skip to content

Make yoga/Yoga.h an umbrell header #1070

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rudybear
Copy link

Summary:
This diff makes the Yoga/Yoga.h header an umbrella header, which means that it includes all of Yoga's public headers. The code changes in each file include adding the IWYU pragma export to each header file, which is a way to tell the compiler to export the header file's symbols to other files that include it. This is necessary for the header file to be used as an umbrella header.

Changelog:
[General][Added] - Code quality fixes

Reviewed By: corporateshark

Differential Revision: D78692457

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78692457

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78692457

rudybear added a commit to rudybear/react-native that referenced this pull request Jul 24, 2025
Summary:
X-link: facebook/yoga#1828

X-link: facebook/litho#1070

This diff makes the Yoga/Yoga.h header an umbrella header, which means that it includes all of Yoga's public headers. The code changes in each file include adding the IWYU pragma export to each header file, which is a way to tell the compiler to export the header file's symbols to other files that include it. This is necessary for the header file to be used as an umbrella header.

Changelog:
[General][Added] - Code quality fixes

Reviewed By: corporateshark

Differential Revision: D78692457
rudybear added a commit to rudybear/yoga that referenced this pull request Jul 24, 2025
Summary:
X-link: facebook/react-native#52817


X-link: facebook/litho#1070

This diff makes the Yoga/Yoga.h header an umbrella header, which means that it includes all of Yoga's public headers. The code changes in each file include adding the IWYU pragma export to each header file, which is a way to tell the compiler to export the header file's symbols to other files that include it. This is necessary for the header file to be used as an umbrella header.

Changelog:
[General][Added] - Code quality fixes

Reviewed By: corporateshark

Differential Revision: D78692457
rudybear added a commit to rudybear/litho that referenced this pull request Jul 24, 2025
Summary:
X-link: facebook/react-native#52817

X-link: facebook/yoga#1828


This diff makes the Yoga/Yoga.h header an umbrella header, which means that it includes all of Yoga's public headers. The code changes in each file include adding the IWYU pragma export to each header file, which is a way to tell the compiler to export the header file's symbols to other files that include it. This is necessary for the header file to be used as an umbrella header.

Changelog:
[General][Added] - Code quality fixes

Reviewed By: corporateshark

Differential Revision: D78692457
rudybear added a commit to rudybear/react-native that referenced this pull request Jul 24, 2025
Summary:

X-link: facebook/yoga#1828

X-link: facebook/litho#1070

This diff makes the Yoga/Yoga.h header an umbrella header, which means that it includes all of Yoga's public headers. The code changes in each file include adding the IWYU pragma export to each header file, which is a way to tell the compiler to export the header file's symbols to other files that include it. This is necessary for the header file to be used as an umbrella header.

Changelog:
[General][Added] - Code quality fixes

Reviewed By: corporateshark

Differential Revision: D78692457
Summary:
X-link: facebook/react-native#52817

X-link: facebook/yoga#1828

Pull Request resolved: facebook#1070

This diff makes the Yoga/Yoga.h header an umbrella header, which means that it includes all of Yoga's public headers. The code changes in each file include adding the IWYU pragma export to each header file, which is a way to tell the compiler to export the header file's symbols to other files that include it. This is necessary for the header file to be used as an umbrella header.

Changelog:
[General][Added] - Code quality fixes

Reviewed By: corporateshark

Differential Revision: D78692457
rudybear added a commit to rudybear/yoga that referenced this pull request Jul 24, 2025
Summary:
X-link: facebook/react-native#52817

Pull Request resolved: facebook#1828

X-link: facebook/litho#1070

This diff makes the Yoga/Yoga.h header an umbrella header, which means that it includes all of Yoga's public headers. The code changes in each file include adding the IWYU pragma export to each header file, which is a way to tell the compiler to export the header file's symbols to other files that include it. This is necessary for the header file to be used as an umbrella header.

Changelog:
[General][Added] - Code quality fixes

Reviewed By: corporateshark

Differential Revision: D78692457
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78692457

rudybear added a commit to rudybear/react-native that referenced this pull request Jul 24, 2025
Summary:
Pull Request resolved: facebook#52817

X-link: facebook/yoga#1828

X-link: facebook/litho#1070

This diff makes the Yoga/Yoga.h header an umbrella header, which means that it includes all of Yoga's public headers. The code changes in each file include adding the IWYU pragma export to each header file, which is a way to tell the compiler to export the header file's symbols to other files that include it. This is necessary for the header file to be used as an umbrella header.

Changelog:
[General][Added] - Code quality fixes

Reviewed By: corporateshark

Differential Revision: D78692457
facebook-github-bot pushed a commit to facebook/yoga that referenced this pull request Jul 24, 2025
Summary:
X-link: facebook/react-native#52817

Pull Request resolved: #1828

X-link: facebook/litho#1070

This diff makes the Yoga/Yoga.h header an umbrella header, which means that it includes all of Yoga's public headers. The code changes in each file include adding the IWYU pragma export to each header file, which is a way to tell the compiler to export the header file's symbols to other files that include it. This is necessary for the header file to be used as an umbrella header.

Changelog:
[General][Added] - Code quality fixes

Reviewed By: corporateshark

Differential Revision: D78692457

fbshipit-source-id: 7fcd53d2a6f268fa4377dbd5bd6ba6eebc94b5f8
facebook-github-bot pushed a commit to facebook/react-native that referenced this pull request Jul 24, 2025
Summary:
Pull Request resolved: #52817

X-link: facebook/yoga#1828

X-link: facebook/litho#1070

This diff makes the Yoga/Yoga.h header an umbrella header, which means that it includes all of Yoga's public headers. The code changes in each file include adding the IWYU pragma export to each header file, which is a way to tell the compiler to export the header file's symbols to other files that include it. This is necessary for the header file to be used as an umbrella header.

Changelog:
[General][Added] - Code quality fixes

Reviewed By: corporateshark

Differential Revision: D78692457

fbshipit-source-id: 7fcd53d2a6f268fa4377dbd5bd6ba6eebc94b5f8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants