[all-commits] [llvm/llvm-project] d8061e: [clang] ASTContext: fix creation of UnaryTransform...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Fri Apr 11 20:00:20 PDT 2025


  Branch: refs/heads/users/mizvekov/tst-refactor
  Home:   https://github.com/llvm/llvm-project
  Commit: d8061e04be0a0311e898f0c38a28ed509ec41c0b
      https://github.com/llvm/llvm-project/commit/d8061e04be0a0311e898f0c38a28ed509ec41c0b
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/Type.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/Type.cpp

  Log Message:
  -----------
  [clang] ASTContext: fix creation of UnaryTransformTypes

This makes sure UnaryTransformTypes are all uniqued,
which makes the AST node more well behaved, and helps
with aka suppression in diagnostics.

This also makes sure a canonical UnaryTransformType round trips
back to a canonical type when recreated from its components.


  Commit: 105942e88347755569199400833933b101136f62
      https://github.com/llvm/llvm-project/commit/105942e88347755569199400833933b101136f62
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp

  Log Message:
  -----------
  [clang] ASTContext: make DecltypeType creation more well-behaved

This makes sure a canonical DecltypeType round-trips back to a
canonical type when rebuilt from its components.


Compare: https://github.com/llvm/llvm-project/compare/a51781681504...105942e88347

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