[PATCH] D42530: Clang permits assignment to vector/extvector elements in a const method

Andrew V. Tischenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 05:37:32 PST 2018


avt77 updated this revision to Diff 133404.
avt77 added a comment.

I propagated qualifiers accordingly to rjmccall's suggestion. But I changed the diagnostic: now it's more realistic from my point of view.


https://reviews.llvm.org/D42530

Files:
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaExprMember.cpp
  test/Sema/assign.c
  test/Sema/typedef-retain.c
  test/SemaCXX/err_typecheck_assign_const.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42530.133404.patch
Type: text/x-patch
Size: 4755 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180208/b713c2b1/attachment.bin>


More information about the llvm-commits mailing list