]> granicus.if.org Git - clang/commit
DR1748: the reserved placement allocation functions have undefined behavior if
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 14 Feb 2015 01:52:20 +0000 (01:52 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 14 Feb 2015 01:52:20 +0000 (01:52 +0000)
commit9f27d885052f835c7a4ca0855fcec8357f044f76
tree3b2727ba3813978dc579f85c1dff13a215d30f9e
parent212af641f2b71dbc372b3cfb283b332116c68b26
DR1748: the reserved placement allocation functions have undefined behavior if
they're given a null pointer as an argument, so we do not need to emit null
checks on their results.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@229213 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ExprCXX.h
lib/AST/ExprCXX.cpp
lib/CodeGen/CGExprCXX.cpp
test/CodeGenCXX/debug-info-line.cpp
test/CodeGenCXX/new.cpp