Skip to content

Don't requalify already globally qualified identifiers#55847

Open
j-piasecki wants to merge 6 commits intofacebook:mainfrom
j-piasecki:export-D94901503
Open

Don't requalify already globally qualified identifiers#55847
j-piasecki wants to merge 6 commits intofacebook:mainfrom
j-piasecki:export-D94901503

Conversation

@j-piasecki
Copy link
Contributor

Summary:
Changelog: [Internal]

Disables name qualification on already globally qualified identifiers.

Differential Revision: D94901503

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
Summary:
Changelog: [Internal]

Updates the C++ API snapshot generator not to include anonymous namespaces in the snapshot since those have internal linkage.

Differential Revision: D94901508
Summary:
Changelog: [Internal]

Updates C++ API snapshot generator not to include anonymous variables in the snapshot.

This covers an edge case where doxygen will generate an anonymout member of type "union" when an anonymous union is present in a class.

Differential Revision: D94901506
Summary:
Changelog: [Internal]

When constructors are marked as "constexpr", doxygen will output them as a function of type "constexpr" with "is-constexpr=yes". This causes the script to duplicate the keyword.

This diff fixes that by explicitly covering this edge case.

Differential Revision: D94901507
Summary:
Changelog: [Internal]

Disables name qualification on already globally qualified identifiers.

Differential Revision: D94901503
@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 D94901503.

Copy link
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

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 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.

3 participants