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

Method ArrayInitCodeGenerator

CodeGenerator.cpp:126–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124
125public:
126 ArrayInitCodeGenerator(OutputFormatHelper& _outputFormatHelper, const uint64_t index)
127 : CodeGenerator{_outputFormatHelper}
128 , mIndex{index}
129 {
130 }
131
132 using CodeGenerator::InsertArg;
133 void InsertArg(const ArrayInitIndexExpr*) override { mOutputFormatHelper.Append(mIndex); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected