| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -71/+0 | |
| 2022-12-09 | Remove unneeded field from `SwitchTargets` | Jakob Degen | -1/+1 | |
| 2022-07-28 | bless mir opt tests | Nilstrieb | -25/+25 | |
| 2022-07-09 | tweak names and output and bless | Ralf Jung | -1/+1 | |
| 2021-09-18 | ./x.py test --bless | Tomasz Miąsko | -17/+12 | |
| 2021-09-01 | Fix drop handling for `if let` expressions | Matthew Jasper | -11/+15 | |
| MIR lowering for `if let` expressions is now more complicated now that `if let` exists in HIR. This PR adds a scope for the variables bound in an `if let` expression and then uses an approach similar to how we handle loops to ensure that we reliably drop the correct variables. | ||||
| 2021-08-03 | Make simplify_cfg test more consistent | Alex Crichton | -27/+27 | |
| Force it to always use panic=abort which means that all targets should produce the same MIR now. | ||||
| 2021-01-07 | Reintroduce hir::ExprKind::If | Caio | -30/+24 | |
| 2020-12-03 | Combination of commits | Rich Kadel | -1/+1 | |
| Fixes multiple issue with counters, with simplification Includes a change to the implicit else span in ast_lowering, so coverage of the implicit else no longer spans the `then` block. Adds coverage for unused closures and async function bodies. Fixes: #78542 Adding unreachable regions for known MIR missing from coverage map Cleaned up PR commits, and removed link-dead-code requirement and tests Coverage no longer depends on Issue #76038 (`-C link-dead-code` is no longer needed or enforced, so MSVC can use the same tests as Linux and MacOS now) Restrict adding unreachable regions to covered files Improved the code that adds coverage for uncalled functions (with MIR but not-codegenned) to avoid generating coverage in files not already included in the files with covered functions. Resolved last known issue requiring --emit llvm-ir workaround Fixed bugs in how unreachable code spans were added. | ||||
| 2020-10-04 | Bless mir-opt tests | Aaron Hill | -37/+29 | |
| 2020-08-21 | Suppress "const" prefix of FnDef in MIR dump | Lzu Tao | -2/+2 | |
| 2020-08-20 | Suppress MIR comments of Unit type | Lzu Tao | -12/+0 | |
| 2020-08-20 | Suppress MIR comments for FnDef in ty::Const | Lzu Tao | -3/+0 | |
| 2020-07-29 | Move mir-opt tests to toplevel | Xavier Denis | -0/+101 | |
