Skip to content

Conversation

@WalterBright
Copy link
Member

By doing this:

  1. gendocfile is relieved of any need for dealing with files and can concentrate on just generating the ddoc text
  2. the buffer memory can be recycled instead of free'd and alloc'd again
  3. the error handling is now the caller's problem
  4. doc.d doesn't need to import errors.d anymore
  5. the caller can now decide what to do with the generated output

@WalterBright WalterBright added the Severity:Refactoring No semantic changes to code label Aug 13, 2023
@WalterBright WalterBright requested a review from ibuclaw as a code owner August 13, 2023 05:48
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#15535"

@WalterBright
Copy link
Member Author

Hmm, I'm going to have to resort to changing this a bit at a time until I find what went wrong.

@dlang-bot dlang-bot merged commit db216af into dlang:master Aug 13, 2023
@WalterBright WalterBright deleted the ddoctext branch August 13, 2023 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merge:auto-merge Severity:Refactoring No semantic changes to code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants