Skip to content

Conversation

@qedawkins
Copy link
Collaborator

@qedawkins qedawkins commented Dec 7, 2023

MSVC-19 does not support constexprs of lambda captured constexpr values like this: https://godbolt.org/z/ej65rMzdr
Instead, this just drops the constexpr from the if statements.

See the discussion in https://discord.com/channels/689900678990135345/1062405112292712499/1182338050664185999

@qedawkins
Copy link
Collaborator Author

Can't seem to assign as a reviewer, so @frederik-h fyi.

Copy link
Member

@Groverkss Groverkss left a comment

Choose a reason for hiding this comment

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

LGTM

@qedawkins qedawkins merged commit 63505ad into llvm:main Dec 7, 2023
@frederik-h
Copy link
Contributor

Can't seem to assign as a reviewer, so @frederik-h fyi.

Interesting issue. Thanks for adding me.

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.

3 participants