llvm-project/clang/test/CXX
Richard Trieu af7d76c720 Improve the error message for assigning to read-only variables.
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
2015-04-11 01:53:13 +00:00
..
basic Update error message text. 2015-01-18 19:05:48 +00:00
class Don't crash if a declarator in a friend decl doesn't have a name. 2015-01-16 19:34:13 +00:00
class.access Add a new flag, -fspell-checking-limit=<number> to control how many times we'll do spell checking. Note that spell checking will change the produced AST, so we don't automatically change this value when someone sets -ferror-limit=. With this, merge test typo-correction-pt2.cpp into typo-correction.cpp. 2014-12-16 21:39:02 +00:00
class.derived PR6037 2015-01-19 01:44:02 +00:00
conv PR6037 2015-01-19 01:44:02 +00:00
dcl.dcl AST: Don't ignore alignas on EnumDecls when calculating alignment 2015-01-21 10:54:38 +00:00
dcl.decl [Sema] Diagnose default argument on a parameter pack. 2015-03-27 13:58:31 +00:00
drs Generate a diagnostic when a catch handler cannot execute due to class hierarchy inversion with regards to other catch handlers for the same block. 2015-04-08 00:05:29 +00:00
except Emit DeferredDeclsToEmit in a DFS order. 2015-01-22 00:24:57 +00:00
expr Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
lex Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
over Implement [over.match.oper]p3 properly, by filtering the non-candidates out 2014-04-17 01:52:14 +00:00
special Unify warnings/errors from "maybe you meant" to "did you mean". 2015-04-02 22:10:06 +00:00
stmt.stmt Sema: Allow 'constexpr' variables in range loops 2015-02-18 18:34:59 +00:00
temp Improve the error message for assigning to read-only variables. 2015-04-11 01:53:13 +00:00