Fix handling of const_cast from prvalue to rvalue reference: such a cast isonly permitted if the source object is of class type, and should materialize atemporary for the reference to bind to.llv
Fix handling of const_cast from prvalue to rvalue reference: such a cast isonly permitted if the source object is of class type, and should materialize atemporary for the reference to bind to.llvm-svn: 184017
show more ...
Grab-bag of bit-field fixes: - References to ObjC bit-field ivars are bit-field lvalues; fixes rdar://13794269, which got me started down this. - Introduce Expr::refersToBitField, switch a c
Grab-bag of bit-field fixes: - References to ObjC bit-field ivars are bit-field lvalues; fixes rdar://13794269, which got me started down this. - Introduce Expr::refersToBitField, switch a couple users to it where semantically important, and comment the difference between this and the existing API. - Discourage Expr::getBitField by making it a bit longer and less general-sounding. - Lock down on const_casts of bit-field gl-values until we hear back from the committee as to whether they're allowed.llvm-svn: 181252
Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive.llvm-svn: 1
Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive.llvm-svn: 166280
Update all tests other than Driver/std.cpp to use -std=c++11 rather than-std=c++0x. Patch by Ahmed Charles!llvm-svn: 141900
Update const_cast semantics for rvalue references. Add tests forreinterpret_cast and const_cast using rvalue references.llvm-svn: 124007