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

John McCall via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 11:17:23 PST 2018


rjmccall added a comment.

That's still just const-propagation.  The const qualifier on the pointee type of this should propagate to the l-value resulting from the member access, and the vector-specific projection logic should continue to propagate const to the type of the element l-value.


https://reviews.llvm.org/D42530





More information about the llvm-commits mailing list