| 254 | } |
| 255 | |
| 256 | inline int32_t ErrorAsException(int32_t v) { |
| 257 | if (ARROW_PREDICT_FALSE(v == 42)) { |
| 258 | throw std::invalid_argument("42"); |
| 259 | } |
| 260 | return v + 1; |
| 261 | } |
| 262 | |
| 263 | ARROW_NO_INLINE int32_t ErrorAsExceptionNoInline(int32_t v) { |
| 264 | if (ARROW_PREDICT_FALSE(v == 42)) { |
no outgoing calls
no test coverage detected