Skip to content

[CIR] Upstream support array new #160383

@andykaylor

Description

@andykaylor

Overview

Upstream support for array new handling.

Suggested minimal test case

void t_new_constant_size() {
  auto p = new double[16];
}

Existing incubator tests

clang/test/CIR/CodeGen/new.cpp
clang/test/CIR/CodeGen/array-new-init.cpp
clang/test/CIR/CodeGen/applearm64-array-cookies.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClangIRAnything related to the ClangIR project

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions