Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PR15132: Replace "address expression must be an lvalue or a function | Richard Smith | 2013-02-02 | 1 | -2/+2 |
| | | | | | | | | | | | | | | designator" diagnostic with more correct and more human-friendly "cannot take address of rvalue of type 'T'". For the case of & &T::f, provide a custom diagnostic, rather than unhelpfully saying "cannot take address of rvalue of type '<overloaded function type>'". For the case of &array_temporary, treat it just like a class temporary (including allowing it as an extension); the existing diagnostic wording for the class temporary case works fine. llvm-svn: 174262 | ||||
* | Fix wrong-code bug: __imag on a scalar lvalue should produce a zero rvalue, | Richard Smith | 2012-02-18 | 1 | -0/+29 |
rather than an lvalue referring to the scalar. llvm-svn: 150889 |