Skip to content

lib/MC/MCSchedule.cpp uses deprecated is_pod #7267

Open
@nico

Description

@nico

Description

static_assert(std::is_pod<MCSchedModel>::value,
uses is_pod, which is deprecated in C++20 and was marked as such in libc++ in llvm/llvm-project#129471

Steps to Reproduce

Build with -std=c++20 with a libc++ that has llvm/llvm-project#129471

Actual Behavior

Warns about is_pod.

LLVM removed this in llvm/llvm-project@9810fe1, but that doesn't apply cleanly because DXC also doesn't have llvm/llvm-project@d3a6c897ba992 and llvm/llvm-project@aee3400

I don't know how you usually track upstream changes (or if you do at all).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug, regression, crashneeds-triageAwaiting triage

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions