diff options
author | Richard Trieu <rtrieu@google.com> | 2015-04-11 01:53:13 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2015-04-11 01:53:13 +0000 |
commit | 7d191b2364ab007773cdb792dbd64d1f92158618 (patch) | |
tree | 72876ffa3abbccb82ccd04593ccc412bac4e1006 /unittests/Sema | |
parent | 9ce9d444a389e0e0179dda133269d6ca4f28a35f (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234677 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Sema')
0 files changed, 0 insertions, 0 deletions