[all-commits] [llvm/llvm-project] ddbfe6: [Sema] Fix __array_rank instantiation (#124491)

Robert Dazi via All-commits all-commits at lists.llvm.org
Mon Jan 27 03:43:59 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddbfe6f7d2075a828fa9e8e5f5734bf881cda13a
      https://github.com/llvm/llvm-project/commit/ddbfe6f7d2075a828fa9e8e5f5734bf881cda13a
  Author: Robert Dazi <14996868+v01dXYZ at users.noreply.github.com>
  Date:   2025-01-27 (Mon, 27 Jan 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/ExprCXX.h
    M clang/lib/Sema/TreeTransform.h
    A clang/test/SemaCXX/array-type-trait-with-template.cpp

  Log Message:
  -----------
  [Sema] Fix __array_rank instantiation (#124491)

The type being queried was left as a template type parameter, making the
whole expression as dependent and thus not eligible to static_assert.

Fixes #123498

Co-authored-by: v01dxyz <v01dxyz at v01d.xyz>
Co-authored-by: cor3ntin <corentinjabot at gmail.com>



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