[all-commits] [llvm/llvm-project] 016970: [Clang] Fix cast to BigIntType in hasUniqueObjectR...

Roy Jacobson via All-commits all-commits at lists.llvm.org
Mon Apr 10 12:12:12 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 016970d079c40b99c28c6973df8f7a98e8b8d536
  Author: Roy Jacobson <roi.jacobson1 at gmail.com>
  Date:   2023-04-10 (Mon, 10 Apr 2023)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp
    M clang/test/SemaCXX/type-traits.cpp

  Log Message:
  [Clang] Fix cast to BigIntType in hasUniqueObjectRepresentations

A bad QualType cast caused us not to detect _BigInt types if they were wrapped inside sugar types like SubstTemplateTypeParm.
Fix https://github.com/llvm/llvm-project/issues/62019

Reviewed By: cjdb

Differential Revision: https://reviews.llvm.org/D147904

More information about the All-commits mailing list