Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace Sema-level implementation of -fassume-sane-operator-new with a | Richard Smith | 2016-04-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | 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 | ||||
* | [opaque pointer type] update test cases for explicit pointee types on global ↵ | David Blaikie | 2015-09-11 | 1 | -1/+1 |
| | | | | | | aliases llvm-svn: 247380 | ||||
* | Don't depend on alias to declarations. | Rafael Espindola | 2013-10-15 | 1 | -0/+3 |
| | | | | | | Accepting them is a bug (pr17535), not a feature. llvm-svn: 192712 | ||||
* | PR16715: Fix assert in verifier: only mark call to 'operator new' as ↵ | Richard Smith | 2013-07-29 | 1 | -0/+10 |
'builtin' if corresponding 'operator new' was actually emitted as a function marked 'nobuiltin'. llvm-svn: 187374 |