[PATCH] D112921: [clang] Enable sized deallocation by default in C++14 onwards

wangpc via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 1 06:12:57 PDT 2021


pcwang-thead updated this revision to Diff 383789.
pcwang-thead added a comment.
Herald added subscribers: usaxena95, kadircet, arphaman.

Add `-fno-sized-allocation` to:

- `clang\test\AST\ast-dump-expr-json.cpp`
- `clang\test\AST\ast-dump-stmt-json.cpp`
- `clang\test\CodeGenCXX\dllimport.cpp`
- `clang\test\SemaCXX\MicrosoftExtensions.cpp`
- `clang-tools-extra/clangd/unittests/FindTargetTests.cpp`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112921/new/

https://reviews.llvm.org/D112921

Files:
  clang-tools-extra/clangd/unittests/FindTargetTests.cpp
  clang-tools-extra/test/clang-tidy/checkers/misc-new-delete-overloads.cpp
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/AST/ast-dump-expr-json.cpp
  clang/test/AST/ast-dump-expr.cpp
  clang/test/AST/ast-dump-stmt-json.cpp
  clang/test/CodeGenCXX/cxx1y-sized-deallocation.cpp
  clang/test/CodeGenCXX/cxx2a-destroying-delete.cpp
  clang/test/CodeGenCXX/delete-two-arg.cpp
  clang/test/CodeGenCXX/delete.cpp
  clang/test/CodeGenCXX/dllimport.cpp
  clang/test/CodeGenCXX/new.cpp
  clang/test/CodeGenCoroutines/coro-alloc.cpp
  clang/test/CodeGenCoroutines/coro-cleanup.cpp
  clang/test/CodeGenCoroutines/coro-gro.cpp
  clang/test/SemaCXX/MicrosoftExtensions.cpp
  clang/test/SemaCXX/builtin-operator-new-delete.cpp
  clang/test/SemaCXX/unavailable_aligned_allocation.cpp
  clang/unittests/StaticAnalyzer/CallEventTest.cpp
  clang/www/cxx_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112921.383789.patch
Type: text/x-patch
Size: 24579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211101/777e545c/attachment-0001.bin>


More information about the cfe-commits mailing list