[all-commits] [llvm/llvm-project] 2e52e1: [clang] Make sure the same UsingType is searched a...

Wei Wang via All-commits all-commits at lists.llvm.org
Wed Jan 24 11:06:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e52e13c1e7e9a41d47b808fc5d668b7b738b94c
      https://github.com/llvm/llvm-project/commit/2e52e13c1e7e9a41d47b808fc5d668b7b738b94c
  Author: Wei Wang <apollo.mobility at gmail.com>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M clang/test/AST/ast-dump-using.cpp

  Log Message:
  -----------
  [clang] Make sure the same UsingType is searched and inserted (#79182)

When creating a new UsingType, the underlying type may change if it is a
declaration. This creates an inconsistency between the type searched and
type created. Update member and non-member Profile functions so that
they return the same ID.




More information about the All-commits mailing list