Skip to content

Explicitly handle friend clasess#55843

Closed
j-piasecki wants to merge 2 commits intofacebook:mainfrom
j-piasecki:export-D94901510
Closed

Explicitly handle friend clasess#55843
j-piasecki wants to merge 2 commits intofacebook:mainfrom
j-piasecki:export-D94901510

Conversation

@j-piasecki
Copy link
Contributor

Summary:
Changelog: [Internal]

Adds explicit support for friend classes in the C++ API snapshot. Doxygen treats friends as variables of type "friend". For the snapshot use case, we cover that special case and store them as explicit FriendMember. This allows for correctly ignoring friend definitions when qualifying identifiers.

Differential Revision: D94901510

Summary:
Changelog: [Internal]

Updates the C++ API snapshot generator so that it tries to read doxygen binary location from the env variable before falling back to relying on PATH.

Differential Revision: D94901517
Summary:
Changelog: [Internal]

Adds explicit support for friend classes in the C++ API snapshot. Doxygen treats friends as variables of type "friend". For the snapshot use case, we cover that special case and store them as explicit `FriendMember`. This allows for correctly ignoring friend definitions when qualifying identifiers.

Differential Revision: D94901510
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 2, 2026
@facebook-github-bot facebook-github-bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Mar 2, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 2, 2026

@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D94901510.

@meta-codesync meta-codesync bot closed this in 4683e00 Mar 3, 2026
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 3, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 3, 2026

This pull request has been merged in 4683e00.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants