[PATCH] Add more information when displaying a "read-only variable is not assignable" error
Richard Trieu
rtrieu at google.com
Mon Aug 18 20:39:15 PDT 2014
Add additional test
Rewrite the loop to display notes and stop when no new notes are needed
Fix some wording with the diagnostic
http://reviews.llvm.org/D4479
Files:
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/CXX/temp/temp.decls/temp.mem/p5.cpp
test/Sema/anonymous-struct-union.c
test/Sema/block-misc.c
test/SemaCXX/anonymous-union.cpp
test/SemaCXX/captured-statements.cpp
test/SemaCXX/cxx0x-constexpr-const.cpp
test/SemaCXX/err_typecheck_assign_const.cpp
test/SemaCXX/err_typecheck_assign_const_filecheck.cpp
test/SemaCXX/function-type-qual.cpp
test/SemaObjC/arc.m
test/SemaTemplate/dependent-type-identity.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4479.12643.patch
Type: text/x-patch
Size: 24153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140819/15307c36/attachment.bin>
More information about the cfe-commits
mailing list