MCPcopy Create free account
hub / github.com/bytedance/bolt / hasElseClause

Function hasElseClause

bolt/expression/SwitchExpr.cpp:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38namespace {
39bool hasElseClause(const std::vector<ExprPtr>& inputs) {
40 return inputs.size() % 2 == 1;
41}
42} // namespace
43
44SwitchExpr::SwitchExpr(

Callers 1

SwitchExprMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected