Skip to content

[libc++][test] vector/trivial_relocation.pass.cpp uses implementation-specific attribute [[clang::trivial_abi]] #182392

@StephanTLavavej

Description

@StephanTLavavej

libcxx/test/std/containers/sequences/vector/trivial_relocation.pass.cpp is in the portable path (test/std), but uses an implementation-specific attribute:

This causes MSVC to emit "warning C5030: attribute [[clang::trivial_abi]] is not recognized".

The use of this attribute should be guarded for Clang.

Metadata

Metadata

Assignees

No one assigned

    Labels

    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.test-suite

    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