[all-commits] [llvm/llvm-project] 0077d4: [Clang] Fix pack indexing profiling (#139276)

cor3ntin via All-commits all-commits at lists.llvm.org
Fri May 9 09:02:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0077d4ca78342ed009eca324f93f1c62a90399c5
      https://github.com/llvm/llvm-project/commit/0077d4ca78342ed009eca324f93f1c62a90399c5
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/ExprCXX.h
    M clang/include/clang/AST/Type.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/StmtProfile.cpp
    M clang/lib/AST/Type.cpp
    M clang/test/SemaTemplate/concepts-out-of-line-def.cpp

  Log Message:
  -----------
  [Clang] Fix pack indexing profiling (#139276)

When profiling a pack indexing that has been partially substituted, we
should profile the expansions, rather than the pattern itseld

This is a better approach to #139057

This mirrors the fix done for SizeOfPackExpr in #124533

Fixes #138255



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