[all-commits] [llvm/llvm-project] 80ccf0: [Clang] Do not try to transform invalid bindings (...

cor3ntin via All-commits all-commits at lists.llvm.org
Wed Feb 19 07:47:42 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80ccf01c337f09146a2c502fe624f07c4b04b848
      https://github.com/llvm/llvm-project/commit/80ccf01c337f09146a2c502fe624f07c4b04b848
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M clang/lib/Sema/TreeTransform.h
    M clang/test/SemaCXX/cxx2c-binding-pack.cpp

  Log Message:
  -----------
  [Clang] Do not try to transform invalid bindings (#125658)

In the presence of an invalid structured binding decomposition, some
binding packs may be invalid and trying to transform them would produce
a recovery expression that does not contains a pack, leading to
assertions in places where we would expect a pack at that stage.

Fixes #125165



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