[all-commits] [llvm/llvm-project] c49cde: [Sema] Fix `ExtVectorElementExpr` tree transform f...

michele-scandale via All-commits all-commits at lists.llvm.org
Tue Oct 11 13:29:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c49cde6467f9bf200640db763152a9dc7f009520
      https://github.com/llvm/llvm-project/commit/c49cde6467f9bf200640db763152a9dc7f009520
  Author: Michele Scandale <michele.scandale at gmail.com>
  Date:   2022-10-11 (Tue, 11 Oct 2022)

  Changed paths:
    M clang/lib/Sema/TreeTransform.h
    M clang/test/SemaTemplate/instantiate-clang.cpp

  Log Message:
  -----------
  [Sema] Fix `ExtVectorElementExpr` tree transform for the `isArrow` case.

Make sure we propagate the value for `IsArrow` to
`RebuildExtVectorElementExpr` in order to be able to handle correctly
vector component accesses where the base value is a pointer.

Reviewed By: rjmccall

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




More information about the All-commits mailing list