MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / code_gen

Method code_gen

src/jit/include/megbrain/jit/ast_c.h:171–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169public:
170 DeclIntAST(const ASTPtr& var) : m_var(var) {}
171 inline std::string code_gen() override { return "int " + m_var->code_gen() + ";"; }
172
173private:
174 ASTPtr m_var;

Callers

nothing calls this directly

Calls 1

code_genMethod · 0.45

Tested by

no test coverage detected