[all-commits] [llvm/llvm-project] 4b5e0a: [Clang] [Sema] Diagnose unexpanded parameter packs...

Sirraide via All-commits all-commits at lists.llvm.org
Mon May 27 09:17:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b5e0a1d12f0d624852c6d7c82207647ed5282aa
      https://github.com/llvm/llvm-project/commit/4b5e0a1d12f0d624852c6d7c82207647ed5282aa
  Author: Sirraide <aeternalmail at gmail.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/SemaTemplateVariadic.cpp
    A clang/test/SemaCXX/attribute-pack-expansion.cpp

  Log Message:
  -----------
  [Clang] [Sema] Diagnose unexpanded parameter packs in attributes (#93482)

Call `DiagnoseUnexpandedParameterPack` when we parse an expression
argument to an attribute and check for implicit code in the
`CollectUnexpandedParameterPacksVisitor` so we can actually find
unexpanded packs in attributes that end up applied to lambda call
operators.

This fixes #93269.



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