[all-commits] [llvm/llvm-project] 7a28a5: [clang][Sema] Fix crash when diagnosing candidates...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Mon May 27 03:18:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a28a5b3fee6c78ad59af79a3d03c00db153c49f
      https://github.com/llvm/llvm-project/commit/7a28a5b3fee6c78ad59af79a3d03c00db153c49f
  Author: kadir çetinkaya <kadircet at google.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/SemaCXX/overload-template.cpp

  Log Message:
  -----------
  [clang][Sema] Fix crash when diagnosing candidates with parameter packs (#93079)

Prevent OOB access by not printing target parameter range when there's a
pack in the function parameters.

Fixes https://github.com/llvm/llvm-project/issues/93076.
Fixes https://github.com/llvm/llvm-project/issues/76354.
Fixes https://github.com/llvm/llvm-project/issues/70191.



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