[PATCH] D107275: [Sema] a[x] has type T when a has type T* or T[], even when T is dependent

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 30 16:24:37 PST 2021


sammccall updated this revision to Diff 396730.
sammccall added a comment.

Restrict to array/pointer + index, insist on a dependent type.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107275/new/

https://reviews.llvm.org/D107275

Files:
  clang/lib/Sema/SemaExpr.cpp
  clang/test/AST/ast-dump-array.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107275.396730.patch
Type: text/x-patch
Size: 5183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211231/9b188266/attachment.bin>


More information about the cfe-commits mailing list