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

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Fri Apr 11 18:38:49 PDT 2025


  Branch: refs/heads/users/mizvekov/tst-refactor
  Home:   https://github.com/llvm/llvm-project
  Commit: a517816815042b3a805585929c462cac166fe50c
      https://github.com/llvm/llvm-project/commit/a517816815042b3a805585929c462cac166fe50c
  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 node when recreated from its components.



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