[all-commits] [llvm/llvm-project] aa22d4: [Clang] Do not try to diagnose parameter packs in ...

cor3ntin via All-commits all-commits at lists.llvm.org
Sun Apr 21 02:44:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa22d4422ee031d3867290e6ec12985f87d9ea2f
      https://github.com/llvm/llvm-project/commit/aa22d4422ee031d3867290e6ec12985f87d9ea2f
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-04-21 (Sun, 21 Apr 2024)

  Changed paths:
    M clang/lib/Sema/SemaTemplateVariadic.cpp
    M clang/test/SemaCXX/cxx2c-pack-indexing.cpp

  Log Message:
  -----------
  [Clang] Do not try to diagnose parameter packs in invalid pack expressions (#89257)

In a pack expression, if the id-expression is not valid, do no try to
detect whether it is a pack as that would lead to a crash trying to
print a recovery expression.

Fixes #88929



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