Make yoga/Yoga.h an umbrell header (#1828)
Summary: X-link: https://github.com/facebook/react-native/pull/52817 Pull Request resolved: https://github.com/facebook/yoga/pull/1828 X-link: https://github.com/facebook/litho/pull/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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c7c85621fc
commit
9f2a9476e5
16
yoga/Yoga.h
16
yoga/Yoga.h
@@ -11,11 +11,11 @@
|
||||
* `#include <yoga/Yoga.h>` includes all of Yoga's public headers.
|
||||
*/
|
||||
|
||||
#include <yoga/YGConfig.h>
|
||||
#include <yoga/YGEnums.h>
|
||||
#include <yoga/YGMacros.h>
|
||||
#include <yoga/YGNode.h>
|
||||
#include <yoga/YGNodeLayout.h>
|
||||
#include <yoga/YGNodeStyle.h>
|
||||
#include <yoga/YGPixelGrid.h>
|
||||
#include <yoga/YGValue.h>
|
||||
#include <yoga/YGConfig.h> // IWYU pragma: export
|
||||
#include <yoga/YGEnums.h> // IWYU pragma: export
|
||||
#include <yoga/YGMacros.h> // IWYU pragma: export
|
||||
#include <yoga/YGNode.h> // IWYU pragma: export
|
||||
#include <yoga/YGNodeLayout.h> // IWYU pragma: export
|
||||
#include <yoga/YGNodeStyle.h> // IWYU pragma: export
|
||||
#include <yoga/YGPixelGrid.h> // IWYU pragma: export
|
||||
#include <yoga/YGValue.h> // IWYU pragma: export
|
||||
|
Reference in New Issue
Block a user