| 469 | } |
| 470 | |
| 471 | void validateOptionValuePresent(Optional<StringRef> value) { |
| 472 | if (!value.present()) { |
| 473 | throw invalid_option_value(); |
| 474 | } |
| 475 | } |
| 476 | |
| 477 | void validateOptionValueNotPresent(Optional<StringRef> value) { |
| 478 | if (value.present() && value.get().size() > 0) { |
no test coverage detected