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

Fix misc-misplaced-const warnings in Yoga tests #1677

Closed
wants to merge 2 commits into from

Conversation

NickGerleman
Copy link
Contributor

Summary:
We have Clang Tidy warnings enabled internally, that will flag const YG*Ref as misleading, as a const pointer to non-const, instead of non-const pointer to const.

Let's remove all the misleading const in existing tests, and generatedr tests.

Differential Revision: D59335968

…1674)

Summary:
This is a continuation of the previous PR: facebook/react-native#45047

I made the change more generic for allowing any kind of config change to invalidate layout.

Pull Request resolved: facebook#1674

Differential Revision: D59286992

Pulled By: NickGerleman
Copy link

vercel bot commented Jul 3, 2024

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 3, 2024 6:07pm

@facebook-github-bot
Copy link
Contributor

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

Summary:
Pull Request resolved: facebook#1677

We have Clang Tidy warnings enabled internally, that will flag `const YG*Ref` as misleading, as a const pointer to non-const, instead of non-const pointer to const.

Let's remove all the misleading const in existing tests, and generatedr tests.

Reviewed By: joevilches

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 5009f5c.

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.

3 participants