Commits


Wes McKinney authored and David Li committed 7adda73dc4e
ARROW-16643: [C++] Fix warnings for clang-14 The following code in arrow/util/small_vector_benchmark.cc generates `-Wreturn-stack-address` in clang-14. It might be better to fix but suppressing for now: ``` template <typename Vector> ARROW_NOINLINE int64_t ConsumeVector(Vector v) { return reinterpret_cast<intptr_t>(v.data()); } template <typename Vector> ARROW_NOINLINE int64_t IngestVector(const Vector& v) { return reinterpret_cast<intptr_t>(v.data()); } ``` Closes #13225 from wesm/ARROW-16643 Authored-by: Wes McKinney <wesm@apache.org> Signed-off-by: David Li <li.davidm96@gmail.com>