llvm / llvm/llvm-project

[clang] Compile error for coroutines + new operator

Open
#215,865 3 comments 0 reactions 1 assignee Claimed by @ojhunt View on GitHub
coroutines
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

After change https://github.com/llvm/llvm-project/commit/cd67cfecb1a154d0759783ae926f8b44c104d7d3, clang builds error out for use of operator new with coroutines aligned allocations.

Proposed fix with test reproducer: https://github.com/llvm/llvm-project/pull/215619.

Opening issue to track, based on the PR feedback and delay in review.

Per https://llvm.org/docs/DeveloperPolicy.html, path forward here is likely:
"If a test case that demonstrates a problem is reported in the commit thread, please revert and investigate offline.", in order to verify the proposed fix is the right one.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.