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

Andrew V. Tischenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 2 08:45:46 PST 2018


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

I re-implemented the patch. Now it works properly with const methods in CXX classes.


https://reviews.llvm.org/D42530

Files:
  lib/AST/ExprClassification.cpp
  lib/Sema/SemaExpr.cpp
  test/Sema/assign.c
  test/Sema/typedef-retain.c
  test/SemaCXX/anonymous-union.cpp
  test/SemaCXX/err_typecheck_assign_const.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42530.132607.patch
Type: text/x-patch
Size: 6228 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180202/56dd9dce/attachment-0001.bin>


More information about the cfe-commits mailing list