summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cxx0x-constexpr-const.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve the error message for assigning to read-only variables.Richard Trieu2015-04-111-2/+2
| | | | | | | | | | Previously, many error messages would simply be "read-only variable is not assignable" This change provides more information about why the variable is not assignable, as well as note to where the const is located. Differential Revision: http://reviews.llvm.org/D4479 llvm-svn: 234677
* 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
* Only objects are declared const by a constexpr specifier, per C++0x ↵Peter Collingbourne2011-03-201-0/+10
[dcl.constexpr]p9 llvm-svn: 127967
OpenPOWER on IntegriCloud