Skip to content

Comments

Remove code for unused template param detection.#1446

Merged
adetaylor merged 6 commits intomainfrom
disregard-missing-template-param-annotation
Feb 24, 2025
Merged

Remove code for unused template param detection.#1446
adetaylor merged 6 commits intomainfrom
disregard-missing-template-param-annotation

Conversation

@adetaylor
Copy link
Collaborator

This was reported two different ways by bindgen; I can't think of a reason we'd need both. Disable one of those ways.

Specifically, it should be:

  • Reported by callback when announcing a type;
  • Reported by wrapping any instances of that type in bindgen_marker_UnusedTemplateParam

We'll disregard the second one. Then we don't need to upstream it as part of #124.

This was reported two different ways by bindgen; I can't think of a reason we'd
need both. Disable one of those ways.

Specifically, it should be:
* Reported by callback when announcing a type;
* Reported by wrapping any instances of that type in
  bindgen_marker_UnusedTemplateParam<T>

We'll disregard the second one.
@adetaylor adetaylor mentioned this pull request Feb 22, 2025
8 tasks
@adetaylor adetaylor merged commit 5b247ed into main Feb 24, 2025
21 checks passed
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.

1 participant