| 33 | |
| 34 | |
| 35 | void PseudoRustFunction::BeginLines(const HighLevelILInstruction& instr, HighLevelILTokenEmitter& tokens) |
| 36 | { |
| 37 | if (instr.exprIndex == m_highLevelIL->GetRootExpr().exprIndex) |
| 38 | { |
| 39 | // At top level, add braces around the entire function |
| 40 | tokens.PrependCollapseIndicator(); |
| 41 | tokens.AppendOpenBrace(); |
| 42 | tokens.NewLine(); |
| 43 | tokens.IncreaseIndent(); |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | |
| 48 | void PseudoRustFunction::EndLines(const HighLevelILInstruction& instr, HighLevelILTokenEmitter& tokens) |
nothing calls this directly
no test coverage detected