summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/multi-dim-operator-new.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace Sema-level implementation of -fassume-sane-operator-new with aRichard Smith2016-04-071-3/+3
| | | | | | | | | | | | | | 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
* Check for some code gen. for PR6641 test.Fariborz Jahanian2010-03-251-1/+6
| | | | llvm-svn: 99526
* Code gen for multi-dimensional dynamic allocations.Fariborz Jahanian2010-03-241-0/+44
Fixes PR6641. llvm-svn: 99404
OpenPOWER on IntegriCloud