| 4788 | //----------------------------------------------------------------------------- |
| 4789 | |
| 4790 | std::string_view CodeGenerator::GetBuiltinTypeSuffix(const BuiltinType::Kind& kind) |
| 4791 | { |
| 4792 | #define CASE(K, retVal) \ |
| 4793 | case BuiltinType::K: return retVal |
| 4794 | switch(kind) { |
| 4795 | CASE(UInt, "U"sv); |
| 4796 | CASE(ULong, "UL"sv); |
| 4797 | CASE(ULongLong, "ULL"sv); |
| 4798 | CASE(UInt128, "ULLL"sv); |
| 4799 | CASE(Long, "L"sv); |
| 4800 | CASE(LongLong, "LL"sv); |
| 4801 | CASE(Float, "F"sv); |
| 4802 | CASE(LongDouble, "L"sv); |
| 4803 | default: return {}; |
| 4804 | } |
| 4805 | #undef BTCASE |
| 4806 | } |
| 4807 | //----------------------------------------------------------------------------- |
| 4808 | |
| 4809 | void CodeGenerator::HandleLambdaExpr(const LambdaExpr* lambda, LambdaHelper& lambdaHelper) |
nothing calls this directly
no outgoing calls
no test coverage detected