Skip to content

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

@asfimport

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_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());
}

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions