diff options
| author | Fangrui Song <maskray@google.com> | 2018-10-01 17:21:07 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2018-10-01 17:21:07 +0000 |
| commit | 7cd67904f77608a70fa87aacb254fff6bc94f6ba (patch) | |
| tree | b15481f2933c6f4476f6fd919b37c8e82a3dd1ba /llvm/lib/CodeGen | |
| parent | 23b62aa6d44b8547a039672df7072fb0daff9d08 (diff) | |
| download | bcm5719-llvm-7cd67904f77608a70fa87aacb254fff6bc94f6ba.tar.gz bcm5719-llvm-7cd67904f77608a70fa87aacb254fff6bc94f6ba.zip | |
Remove redundant null pointer check in operator delete
Summary:
C89 4.10.3.2 The free function
C99 7.20.3.2 The free function
C11 7.22.3.3 The free function
If ptr is a null pointer, no action shall occur.
_aligned_free on MSDN:
If memblock is a NULL pointer, this function simply performs no actions.
Reviewers: EricWF, mclow.lists, khng300, hotpxl
Reviewed By: mclow.lists, khng300, hotpxl
Subscribers: lichray, llvm-commits, hotpxl, khng300, christof, ldionne, cfe-commits, libcxx-commits
Differential Revision: https://reviews.llvm.org/D52401
llvm-svn: 343503
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

