diff options
| author | Pengcheng Wang <wangpengcheng.pp@bytedance.com> | 2024-04-26 16:59:12 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-26 16:59:12 +0800 |
| commit | cf5a8b489464d09dfdd7a48ce7c8b41d3c9bf819 (patch) | |
| tree | 4f312f56e5c8f51ed1117f10665724b96c85736c /clang/test/CodeGenCoroutines/coro-aligned-alloc-2.cpp | |
| parent | 1a343c9b0ff0b38d841a54bdbef130dbdc624451 (diff) | |
[clang] Enable sized deallocation by default in C++14 onwards (#83774)
Since C++14 has been released for about nine years and most standard
libraries have implemented sized deallocation functions, it's time to
make this feature default again.
This is another try of https://reviews.llvm.org/D112921.
Fixes #60061
Diffstat (limited to 'clang/test/CodeGenCoroutines/coro-aligned-alloc-2.cpp')
| -rw-r--r-- | clang/test/CodeGenCoroutines/coro-aligned-alloc-2.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/test/CodeGenCoroutines/coro-aligned-alloc-2.cpp b/clang/test/CodeGenCoroutines/coro-aligned-alloc-2.cpp index a3ee964a22a1..ecf991a2fb49 100644 --- a/clang/test/CodeGenCoroutines/coro-aligned-alloc-2.cpp +++ b/clang/test/CodeGenCoroutines/coro-aligned-alloc-2.cpp @@ -1,9 +1,7 @@ // Tests that the combination of -fcoro-aligned-allocation and -fsized-deallocation works well. // Test the compiler will chose sized deallocation correctly. -// This is only enabled with `-fsized-deallocation` which is off by default. // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -std=c++20 \ // RUN: -fcoro-aligned-allocation -S -emit-llvm %s -o - -disable-llvm-passes \ -// RUN: -fsized-deallocation \ // RUN: | FileCheck %s #include "Inputs/coroutine.h" |
