Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[llvm] minor revisions to export annotation macro docs #138761

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andrurogerz
Copy link
Contributor

Purpose

Make some minor tweaks and clarifications to the LLVM_ABI export annotation docs.

Overview

  1. Minor cleanup on wording throughout
  2. Clarification around class-level annotation requirements to export vtable

Validation

Manually inspected docs on my fork here.

@andrurogerz andrurogerz marked this pull request as ready for review May 6, 2025 23:20
@andrurogerz
Copy link
Contributor Author

@compnerd do you mind having a look at this doc revision? thanks!

constructor and copy assignment operator will resolve the issue.
the class may require minor modification. Often, explicitly deleting the copy
constructor and copy assignment operator will resolve the issue. It may also
require an explicitly defaulted constructor.
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure that this is particularly helpful for the reader, but the changes here do not change that. I think that it might be better to explain that if the annotation results in errors relating to the ctor, it may be that the type needs the constructors explicitly defaulted or deleted as appropriate as the compiler needs the explicit body to instantiate so that it. can reify the ABI implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants