Read the composite type flag.
| 187 | Expect<void> Loader::loadCompositeType(AST::CompositeType &CType) { |
| 188 | // Read the composite type flag. |
| 189 | EXPECTED_TRY(uint8_t B, FMgr.readByte().map_error([this](auto E) { |
| 190 | return logLoadError(E, FMgr.getLastOffset(), ASTNodeAttr::Type_Rec); |
| 191 | })); |
| 192 | |
| 193 | // Read the compiste type by cases. |
| 194 | switch (static_cast<TypeCode>(B)) { |