GCC Code Coverage Report


Directory: ../
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 1 / 0 / 1
Functions: 100.0% 1 / 0 / 1
Branches: 100.0% 4 / 0 / 4

src/typechecker/ExprResult.h
Line Branch Exec Source
1 // Copyright (c) 2021-2026 ChilliBits. All rights reserved.
2
3 #pragma once
4
5 #include <symboltablebuilder/SymbolTableEntry.h>
6
7 namespace spice::compiler {
8
9 struct ExprResult {
10 QualType type;
11 SymbolTableEntry *entry = nullptr;
12
13
4/4
✓ Branch 2 → 3 taken 122995 times.
✓ Branch 2 → 4 taken 45661 times.
✓ Branch 3 → 4 taken 2274 times.
✓ Branch 3 → 5 taken 120721 times.
168656 [[nodiscard]] bool isTemporary() const { return entry == nullptr || entry->anonymous; }
14 };
15
16 } // namespace spice::compiler
17