Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update Clang tests to handle explicitly typed gep changes in LLVM. | David Blaikie | 2015-02-27 | 1 | -3/+3 |
| | | | | llvm-svn: 230783 | ||||
* | Mark C++ reference parameters as dereferenceable | Hal Finkel | 2014-07-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Because references must be initialized using some evaluated expression, they must point to something, and a callee can assume the reference parameter is dereferenceable. Taking advantage of a new attribute just added to LLVM, mark them as such. Because dereferenceability in addrspace(0) implies nonnull in the backend, we don't need both attributes. However, we need to know the size of the object to use the dereferenceable attribute, so for incomplete types we still emit only nonnull. llvm-svn: 213386 | ||||
* | A non-trivial array-fill expression isn't necessarily a CXXConstructExpr. It | Richard Smith | 2014-06-13 | 1 | -0/+19 |
| | | | | | | | could be an InitListExpr that runs constructors in C++11 onwards. Fixes a recent regression (introduced in r210091). llvm-svn: 210954 | ||||
* | Add 'nonnull' parameter or return attribute when producing an llvm pointer ↵ | Nick Lewycky | 2014-05-28 | 1 | -1/+1 |
| | | | | | | type in a function type where the C++ type is a reference. Update the tests. llvm-svn: 209723 | ||||
* | Slightly generalize FileCheck patterns to unbreak -Asserts builds. | Richard Smith | 2012-05-14 | 1 | -1/+1 |
| | | | | llvm-svn: 156783 | ||||
* | Implement IRGen for C++11's "T{1, 2, 3}", where T is an aggregate and the | Richard Smith | 2012-05-14 | 1 | -0/+25 |
expression is treated as an lvalue. llvm-svn: 156781 |