[all-commits] [llvm/llvm-project] 2871f6: [clang] Fix issues with #embed and intializer list...

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Fri Feb 28 00:36:20 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2871f6905257169f8a49b13289421a668bf24051
      https://github.com/llvm/llvm-project/commit/2871f6905257169f8a49b13289421a668bf24051
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/Expr.h
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    A clang/test/SemaCXX/embed-init-list.cpp

  Log Message:
  -----------
  [clang] Fix issues with #embed and intializer lists/template arguments (#128890)

Sometimes number of expressions in InitListExpr is used for template
argument deduction. So, in these cases we need to pay attention to real
number of expressions including expanded #embed data.

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



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