[all-commits] [llvm/llvm-project] 81e336: [Sema] Use the value category of the base expressi...

Akira Hatanaka via All-commits all-commits at lists.llvm.org
Tue Nov 15 17:15:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81e33602f78d135c11b0d74d738263fc6cfaae12
      https://github.com/llvm/llvm-project/commit/81e33602f78d135c11b0d74d738263fc6cfaae12
  Author: Akira Hatanaka <ahatanaka at apple.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

  Changed paths:
    M clang/lib/Sema/SemaExprMember.cpp
    M clang/test/SemaObjC/property-not-lvalue.m

  Log Message:
  -----------
  [Sema] Use the value category of the base expression when creating an
ExtVectorElementExpr

This fixes a bug where an lvalue ExtVectorElementExpr was created when
the base expression was an ObjC property dot operator.

This reverts 220d08d942ab0df3211388e602ed34fa6139ca61.

Differential Revision: https://reviews.llvm.org/D138058




More information about the All-commits mailing list