| 5227 | //----------------------------------------------------------------------------- |
| 5228 | |
| 5229 | void CodeGenerator::WrapInCurliesIfNeeded(bool needsParens, |
| 5230 | void_func_ref lambda, |
| 5231 | const AddSpaceAtTheEnd addSpaceAtTheEnd) |
| 5232 | { |
| 5233 | if(needsParens) { |
| 5234 | WrapInParensOrCurlys(BraceKind::Curlys, lambda, addSpaceAtTheEnd); |
| 5235 | } else { |
| 5236 | lambda(); |
| 5237 | } |
| 5238 | } |
| 5239 | //----------------------------------------------------------------------------- |
| 5240 | |
| 5241 | void CodeGenerator::WrapInCurlys(void_func_ref lambda, const AddSpaceAtTheEnd addSpaceAtTheEnd) |
no outgoing calls
no test coverage detected