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

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Fri May 24 07:32:40 PDT 2024


  Branch: refs/heads/users/mizvekov/clang-fix-GH93068-1
  Home:   https://github.com/llvm/llvm-project
  Commit: 2546c2c5d9e1bc6d1d4ddd818b4017073f17cec0
      https://github.com/llvm/llvm-project/commit/2546c2c5d9e1bc6d1d4ddd818b4017073f17cec0
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-05-24 (Fri, 24 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