[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.
Loading
Please register or sign in to comment