Skip to content

Make yoga/Yoga.h an umbrell header#1828

Closed
rudybear wants to merge 1 commit into
react:mainfrom
rudybear:export-D78692457
Closed

Make yoga/Yoga.h an umbrell header#1828
rudybear wants to merge 1 commit into
react:mainfrom
rudybear:export-D78692457

Conversation

@rudybear

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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

@vercel

vercel Bot commented Jul 24, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
yoga-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2025 7:07pm

rudybear added a commit to rudybear/yoga that referenced this pull request Jul 24, 2025
Summary:
X-link: react/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: react/react-native#52817

X-link: react/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
Summary:
X-link: react/react-native#52817

Pull Request resolved: react#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
Copy Markdown
Contributor

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

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

X-link: react/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/react-native that referenced this pull request Jul 24, 2025
Summary:
Pull Request resolved: react#52817

X-link: react/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

Copy link
Copy Markdown
Contributor

This pull request has been merged in 9f2a947.

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

X-link: react/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