[all-commits] [llvm/llvm-project] 62c9b0: [Clang] Fix a crash when diagnosing a non relocata...

Corentin Jabot via All-commits all-commits at lists.llvm.org
Mon Jun 9 01:29:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62c9b0cab614f2d408929f9ee4280fc3c0084e08
      https://github.com/llvm/llvm-project/commit/62c9b0cab614f2d408929f9ee4280fc3c0084e08
  Author: Corentin Jabot <corentinjabot at gmail.com>
  Date:   2025-06-09 (Mon, 09 Jun 2025)

  Changed paths:
    M clang/lib/Sema/SemaTypeTraits.cpp
    M clang/test/SemaCXX/type-traits-unsatisfied-diags.cpp

  Log Message:
  -----------
  [Clang] Fix a crash when diagnosing a non relocatable with no copy ctr (#143350)

If lookup did not find a copy constructor, it would return nulll,
leading to an assert in `cast`.

Fixes #143325



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