[all-commits] [llvm/llvm-project] c7a056: [clang] Avoid crash due to unimplemented Structura...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Thu May 23 20:00:01 PDT 2024


  Branch: refs/heads/users/mizvekov/clang-fix-GH93068-1
  Home:   https://github.com/llvm/llvm-project
  Commit: c7a056d39dd4148cc8872e8ca136a9f9525ff654
      https://github.com/llvm/llvm-project/commit/c7a056d39dd4148cc8872e8ca136a9f9525ff654
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-05-23 (Thu, 23 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ASTDiagnostic.cpp
    A clang/test/Misc/diag-template-diffing-cxx11.cpp
    A clang/test/Misc/diag-template-diffing-cxx26.cpp
    R clang/test/Misc/diag-template-diffing.cpp

  Log Message:
  -----------
  [clang] Avoid crash due to unimplemented StructuralValue support in the template differ

This was not implemented in https://github.com/llvm/llvm-project/pull/78041

This patch does not implement this fucntionality, it just falls back to the expression
when possible.

Otherwise, such as when dealing with canonical types to begin with,
this will just ignore the argument as if it wasn't even there.

Fixes https://github.com/llvm/llvm-project/issues/93068



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