[libc-commits] [PATCH] D139584: [libc] Add custom operator new to handle allocation failures gracefully.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Dec 9 23:55:56 PST 2022


sivachandra updated this revision to Diff 481835.
sivachandra added a comment.

Use reference argument.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139584

Files:
  libc/src/__support/CPP/new.h
  libc/src/string/CMakeLists.txt
  libc/src/string/allocating_string_utils.h
  libc/src/string/strdup.cpp
  libc/src/unistd/linux/getcwd.cpp
  libc/test/src/string/CMakeLists.txt
  libc/test/src/string/strdup_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139584.481835.patch
Type: text/x-patch
Size: 6905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221210/366cee52/attachment.bin>


More information about the libc-commits mailing list