wgtmac opened a new pull request, #34006: URL: https://github.com/apache/arrow/pull/34006
### Rationale for this change Enforce checking return values of the arithmetic operations in case of overflow. ### What changes are included in this PR? Add `[[nodiscard]]` attribute to those functions. ### Are these changes tested? Make sure all tests pass. ### Are there any user-facing changes? No. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
