aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/new-overflow.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-04-07Replace Sema-level implementation of -fassume-sane-operator-new with aRichard Smith1-9/+9
CodeGen-level implementation. Instead of adding an attribute to clang's FunctionDecl, add the IR attribute directly. This means a module built with this flag is now compatible with code built without it and vice versa. This change also results in the 'noalias' attribute no longer being added to calls to operator new in the IR; it's now only added to the declaration. It also fixes a bug where we failed to add the attribute to the 'nothrow' versions (because we didn't implicitly declare them, there was no good time to inject a fake attribute). llvm-svn: 265728
2015-02-27Update Clang tests to handle explicitly typed load changes in LLVM.David Blaikie1-3/+3
llvm-svn: 230795
2011-07-13Convert the standard default-construction loops to use phis andJohn McCall1-9/+9
partial destruction. llvm-svn: 135033
2011-07-09clang side to match the LLVM IR type system rewrite patch.Chris Lattner1-26/+24
llvm-svn: 134831
2011-06-24Two more test cases which have been long uncommitted.John McCall1-0/+211
llvm-svn: 133842