Skip to content
Snippets Groups Projects
Commit 5b2aa385 authored by Basile Desloges's avatar Basile Desloges
Browse files

[kernel] Const-fold enum value in ternary ops

When using an enum in a ternary operator, the value is const-folded
before checking if it evaluates to `true` or `false` so that const-expr
used as enum values are supported.
parent 4cf18bdc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment