summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/expr/expr.post/expr.const.cast/p1-0x.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix handling of const_cast from prvalue to rvalue reference: such a cast isRichard Smith2013-06-141-4/+16
| | | | | | | only permitted if the source object is of class type, and should materialize a temporary for the reference to bind to. llvm-svn: 184017
* Grab-bag of bit-field fixes:John McCall2013-05-061-1/+16
| | | | | | | | | | | | | | - 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 ↵Andy Gibbs2012-10-191-0/+1
| | | | | | 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 thanRichard Smith2011-10-131-1/+1
| | | | | | -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900
* Update const_cast semantics for rvalue references. Add tests forDouglas Gregor2011-01-221-0/+17
reinterpret_cast and const_cast using rvalue references. llvm-svn: 124007
OpenPOWER on IntegriCloud