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

Method CodeGenerators

CfrontCodeGenerator.cpp:81–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79//-----------------------------------------------------------------------------
80
81CodeGeneratorVariant::CodeGenerators::CodeGenerators(OutputFormatHelper& _outputFormatHelper,
82 CodeGenerator::LambdaStackType& lambdaStack,
83 CodeGenerator::ProcessingPrimaryTemplate processingPrimaryTemplate)
84{
85 if(GetInsightsOptions().UseShow2C) {
86 new(&cfcg) CfrontCodeGenerator{
87 _outputFormatHelper, lambdaStack, CodeGenerator::LambdaInInitCapture::No, processingPrimaryTemplate};
88 } else {
89 new(&cg) CodeGenerator{
90 _outputFormatHelper, lambdaStack, CodeGenerator::LambdaInInitCapture::No, processingPrimaryTemplate};
91 }
92}
93//-----------------------------------------------------------------------------
94
95CodeGeneratorVariant::CodeGenerators::CodeGenerators(OutputFormatHelper& _outputFormatHelper,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected