GCC Code Coverage Report


Directory: ../
File: src/typechecker/ExprResult.h
Date: 2025-02-05 01:09:36
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 1 1 100.0%
Branches: 4 4 100.0%

Line Branch Exec Source
1 // Copyright (c) 2021-2025 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 0 (2→3) taken 92276 times.
✓ Branch 1 (2→4) taken 33003 times.
✓ Branch 2 (3→4) taken 2458 times.
✓ Branch 3 (3→5) taken 89818 times.
125279 [[nodiscard]] bool isTemporary() const { return entry == nullptr || entry->anonymous; }
14 };
15
16 } // namespace spice::compiler
17