[all-commits] [llvm/llvm-project] 868007: [clang][Sema] Avoid non-empty unexpanded pack asse...

Younan Zhang via All-commits all-commits at lists.llvm.org
Sun Nov 12 20:44:32 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 868007a03c74f7c718e0e74c8bdac677eb3f09ba
      https://github.com/llvm/llvm-project/commit/868007a03c74f7c718e0e74c8bdac677eb3f09ba
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaTemplateVariadic.cpp
    A clang/test/SemaCXX/pr61460.cpp

  Log Message:
  -----------
  [clang][Sema] Avoid non-empty unexpanded pack assertion for FunctionParmPackExpr (#69224)

Closes https://github.com/llvm/llvm-project/issues/61460.

We have FunctionParmPackExpr that serves as the unexpanded expression
but from which the visitor collects none, which may lead to assertion
failure during the template instantiation.




More information about the All-commits mailing list