Skip to content

[CIR] Missing CK_BaseToDerived emission in emitCastLValue #1808

@tommymcm

Description

@tommymcm

Minimized test case:

class B {};
class A : B {
  A &operator=(A &);
};
A &A::operator=(A &B) { (A &)B::operator=(B); }

Failed assertion:

assert(0 && "NYI");

Flags: -fclangir -O2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions