[all-commits] [llvm/llvm-project] 4daeba: [Clang][HLSL] Reject matrix layout modifiers on ar...
Farzon Lotfi via All-commits
all-commits at lists.llvm.org
Tue Sep 29 18:19:33 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4daebaeb9b4e36a23cef9f222fcc7c4faa27b64c
https://github.com/llvm/llvm-project/commit/4daebaeb9b4e36a23cef9f222fcc7c4faa27b64c
Author: Farzon Lotfi <farzonlotfi at microsoft.com>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
M clang/lib/Sema/SemaHLSL.cpp
M clang/test/SemaHLSL/matrix_layout_attr.hlsl
Log Message:
-----------
[Clang][HLSL] Reject matrix layout modifiers on array typedefs (#227364)
Fixes #226251
Require row_major and column_major modifiers to apply directly to a
matrix type rather than accepting an array typedef whose element type is
a matrix.
This preserves valid declarations of arrays of annotated matrix elements
while rejecting attempts to apply a layout modifier to the array type
itself.
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