Commit Graph

3 Commits

Author SHA1 Message Date
Alessandro Di Federico 1ca8239b65 ImplicitCastElision: elide casts only on integrals
For comparison operators (==, !=, <, >, <=, >=) the elision is only
sound when both operands are of integral type; otherwise we'd be
changing the kind of comparison being performed.
2026-06-11 17:39:52 +02:00
Lauri Vasama d3dcc70c0c Implement cast elision for variable initializers 2026-05-25 09:00:41 +02:00
Lauri Vasama c7e3a12657 Add implicit cast elision pass 2026-05-04 10:49:07 +03:00