[all-commits] [llvm/llvm-project] f9d761: [ASTContext] Profile Dependently-sized array types...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Mon May 6 20:00:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9d76197ff0099502cf001abe3f5310c5bc4532d
      https://github.com/llvm/llvm-project/commit/f9d76197ff0099502cf001abe3f5310c5bc4532d
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/Type.cpp
    A clang/test/Modules/pr91105.cppm

  Log Message:
  -----------
  [ASTContext] Profile Dependently-sized array types that do not have a specified number
of elements

Close https://github.com/llvm/llvm-project/issues/91105

The root reason for the issue is that we always generate the
dependently-sized array types which don't specify a number of elements.

The original comment says:

> We do no canonicalization here at all, which is okay
> because they can't be used in most locations.

But now we find the locations.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list