| 5215 | //----------------------------------------------------------------------------- |
| 5216 | |
| 5217 | void CodeGenerator::WrapInParensIfNeeded(bool needsParens, |
| 5218 | void_func_ref lambda, |
| 5219 | const AddSpaceAtTheEnd addSpaceAtTheEnd) |
| 5220 | { |
| 5221 | if(needsParens) { |
| 5222 | WrapInParensOrCurlys(BraceKind::Parens, lambda, addSpaceAtTheEnd); |
| 5223 | } else { |
| 5224 | lambda(); |
| 5225 | } |
| 5226 | } |
| 5227 | //----------------------------------------------------------------------------- |
| 5228 | |
| 5229 | void CodeGenerator::WrapInCurliesIfNeeded(bool needsParens, |
nothing calls this directly
no outgoing calls
no test coverage detected