Skip to content

Add pybind11 IWYU pragmas (for clangd Include Cleaner) #30152

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Draft
wants to merge 39 commits into
base: main
Choose a base branch
from

Conversation

rwgk
Copy link
Contributor

@rwgk rwgk commented Aug 26, 2024

Description

[Originally under #30073][Then moved to #30113] Then moved here.

This PR is the source of truth for google3_iwyu_pragmas.patch

Merging and upstreaming this PR is deferred until the clangd Include Cleaner supports removing the "third_party/pybind11/include/" path name parts.

For easy future reference: commit 9e5f44d here was submitted as cl/577013593.

Suggested changelog entry:

rwgk added 30 commits October 26, 2023 10:13
Merging and upstreaming this PR is deferred until Include Cleaner supports removing the "third_party/pybind11/include/" path name parts.
…art_holder_from_shared_ptr()`, to achieve successful building. (Testing aborts with a segfault in test_class_release_gil_before_calling_cpp_dtor.py)
…m smart_holder_type_casters.h to type_caster_base.h

Resolve all `PYBIND11K_MERGE_SH_AFTER_PR5257_WIP` in test_return_value_policy_override.py (in other words, restore the original complete tests).
…_casters.h to type_caster_base.h

Restore the original, complete test_class_sh_void_ptr_capsule.py
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant