Skip to content

[NPM] Fix pass registry entry #144643

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
Open

Conversation

optimisan
Copy link
Contributor

@optimisan optimisan commented Jun 18, 2025

Could do something like this to prevent such slips too

#define FUNCTION_PASS(..., CREATE_PASS, ...) \
  do { \
    auto lamdba = CREATE_PASS; \
    using ReturnType = decltype(lambda({})); \
    PIC->addClassNameToPassName(ReturnType::name(), NAME); \
          \
  } while(0)

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@optimisan optimisan marked this pull request as ready for review June 18, 2025 06:47
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