MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / GetBuiltinTypeSuffix

Method GetBuiltinTypeSuffix

CodeGenerator.cpp:4790–4806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4788//-----------------------------------------------------------------------------
4789
4790std::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
4809void CodeGenerator::HandleLambdaExpr(const LambdaExpr* lambda, LambdaHelper& lambdaHelper)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected