Line | Branch | Exec | Source |
---|---|---|---|
1 | // Copyright (c) 2021-2024 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 taken 42723 times.
✓ Branch 1 taken 25770 times.
✓ Branch 2 taken 1037 times.
✓ Branch 3 taken 41686 times.
|
68493 | [[nodiscard]] bool isTemporary() const { return entry == nullptr || entry->anonymous; } |
14 | }; | ||
15 | |||
16 | } // namespace spice::compiler | ||
17 |