-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARROW-17803: [C++] Use [[nodiscard]] #14193
Conversation
@js8544 For the record, it seems this version works around the GCC parser issue. |
This comment was marked as outdated.
This comment was marked as outdated.
Nice! |
Linker issue which suggests the
|
81283a1
to
aef9c93
Compare
0764e86
to
c755a32
Compare
This comment was marked as outdated.
This comment was marked as outdated.
c755a32
to
95c9694
Compare
Revision: 95c9694 Submitted crossbow builds: ursacomputing/crossbow @ nodiscard-2 |
C++17 supports the standard attribute `[[nodiscard]]`, use that instead of the clang-specific `__attribute__((warn_unused_result))`.
95c9694
to
8a78d6b
Compare
8a78d6b
to
29d4bfa
Compare
Benchmark runs are scheduled for baseline = f477a97 and contender = 5256e43. 5256e43 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
['Python', 'R'] benchmarks have high level of regressions. |
C++17 supports the standard attribute `[[nodiscard]]`, use that instead of the clang-specific `__attribute__((warn_unused_result))`. Authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>
C++17 supports the standard attribute `[[nodiscard]]`, use that instead of the clang-specific `__attribute__((warn_unused_result))`. Authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>
C++17 supports the standard attribute
[[nodiscard]]
, use that instead of the clang-specific__attribute__((warn_unused_result))
.