GCC Code Coverage Report


src/
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
3 / 3
100.0%
Branches:
2 / 2
100.0%
Functions:
2 / 2
100.0%

typechecker/expr-result.spice
Line Branch Exec Source
1 // Copyright (c) 2021-2026 ChilliBits. All rights reserved.
2
3 import "@/symboltablebuilder/symbol-table-entry";
4 import "@/symboltablebuilder/qual-type";
5
6 1455899 public type ExprResult struct {
7 public QualType ty
8 public SymbolTableEntry* entry = nil<SymbolTableEntry*>
9 }
10
11 752496 public const f<bool> ExprResult.isTemporary() {
12
2/2
✓ Branch 0 taken 221345 times.
✓ Branch 1 taken 531151 times.
752496 return this.entry == nil<SymbolTableEntry*> || this.entry.anonymous;
13 }
14