Skip to content

[C++] Unsuppress -Wno-return-stack-address #31994

Description

@asfimport

Follow up for ARROW-16643: this code in small_vector_benchmark.cc generates a warning on clang-14 that we should unsuppress

template <typename Vector>
ARROW_NOINLINEint64_tConsumeVector(Vector v) {
returnreinterpret_cast<intptr_t>(v.data());
}
template <typename Vector>
ARROW_NOINLINEint64_tIngestVector(const Vector& v) {
returnreinterpret_cast<intptr_t>(v.data());
}

Reporter: David Li / @lidavidm

Related issues:

Note: This issue was originally created as ARROW-16644. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions