| 240 | } |
| 241 | |
| 242 | inline int32_t ErrorAsException(int32_t v) { |
| 243 | if (ARROW_PREDICT_FALSE(v == 42)) { |
| 244 | throw std::invalid_argument("42"); |
| 245 | } |
| 246 | return v + 1; |
| 247 | } |
| 248 | |
| 249 | ARROW_NO_INLINE int32_t ErrorAsExceptionNoInline(int32_t v) { |
| 250 | if (ARROW_PREDICT_FALSE(v == 42)) { |
no outgoing calls
no test coverage detected