[all-commits] [llvm/llvm-project] 65a961: [Sema][ObjC] Fix assertion failure in getCommonNon...

Akira Hatanaka via All-commits all-commits at lists.llvm.org
Wed Oct 5 10:39:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65a961f719a7ad6db9b608c323a21ed50b4e36ed
      https://github.com/llvm/llvm-project/commit/65a961f719a7ad6db9b608c323a21ed50b4e36ed
  Author: Akira Hatanaka <ahatanaka at apple.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp
    M clang/test/SemaObjCXX/crash.mm

  Log Message:
  -----------
  [Sema][ObjC] Fix assertion failure in getCommonNonSugarTypeNode

Instead of checking that the protocols of both types are all equal,
check that the canonical decls are equal.




More information about the All-commits mailing list