[all-commits] [llvm/llvm-project] 06721b: [clang] implement common sugared type of inst-depe...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Thu Sep 28 17:23:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06721bb8b4a95efaf0d0b2d6d1bd2256f8e24c60
      https://github.com/llvm/llvm-project/commit/06721bb8b4a95efaf0d0b2d6d1bd2256f8e24c60
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2023-09-29 (Fri, 29 Sep 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ASTContext.cpp
    M clang/test/SemaCXX/sugar-common-types.cpp

  Log Message:
  -----------
  [clang] implement common sugared type of inst-dependent DecltypeType (#67739)

While a DecltypeType node itself is not uniqued, an instantiation
dependent DecltypeType will have a
DependentDecltypeType as an underlying type, which is uniqued.

In that case, there can be non-identical non-sugar DecltypeTypes nodes
which nonetheless represent the same type.

Fixes https://github.com/llvm/llvm-project/issues/67603




More information about the All-commits mailing list