[all-commits] [llvm/llvm-project] 6f0a62: [Clang] Correctly propagate type aliases' unexpand...

Younan Zhang via All-commits all-commits at lists.llvm.org
Mon Jan 20 00:56:25 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f0a627dd3c21209ea45f355ecedd15d739418a1
      https://github.com/llvm/llvm-project/commit/6f0a627dd3c21209ea45f355ecedd15d739418a1
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2025-01-20 (Mon, 20 Jan 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/TreeTransform.h
    M clang/test/SemaCXX/fold_lambda_with_variadics.cpp

  Log Message:
  -----------
  [Clang] Correctly propagate type aliases' unexpanded flags up to lambda (#122875)

We should have been checking desugar() for the type of the right-hand
side of a typedef declaration, instead of using getCanonicalType(),
which points to the end of the type alias chain.

Fixes https://github.com/llvm/llvm-project/issues/122417



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