[clang] Fix #99858 (PR #99859)

2024-07-22 Thread Ahmet Faruk Aktaş via cfe-commits
https://github.com/ahfakt created https://github.com/llvm/llvm-project/pull/99859 Fix crash caused by template parameter pack expansion when no instantiation exist. From a84e2af497f827996afe9a820904f9f1d2f9fb22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Faruk=20Akta=C5=9F?= Date: Mon, 2

[clang] Fix #99858 (PR #99859)

2024-07-22 Thread Ahmet Faruk Aktaş via cfe-commits
ahfakt wrote: I tried to represent the error with a sample code but can not reproduce. It may be removed because of unused template function optimization. In my project it is in a template library which is not a compiled context. I just wanted to point the issue so someone who is experienced i