[all-commits] [llvm/llvm-project] ee24ac: [Clang] Allow devirtualization involving array sub...

AZero13 via All-commits all-commits at lists.llvm.org
Mon Jul 13 07:53:12 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee24ac00d874ce82eaf36431f9aeb2ad744bc3b8
      https://github.com/llvm/llvm-project/commit/ee24ac00d874ce82eaf36431f9aeb2ad744bc3b8
  Author: AZero13 <gfunni234 at gmail.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.md
    M clang/lib/AST/DeclCXX.cpp
    M clang/test/CXX/drs/cwg15xx.cpp
    M clang/test/CodeGenCXX/devirtualize-virtual-function-calls.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [Clang] Allow devirtualization involving array subscripts with constant indices when the pointee type is known [CWG1504] (#207540)

By C++17 [expr.add]/6, if the array element type and the pointee type
are not similar, behavior is undefined.



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