[clang] [HLSL] Add matrix constructors using initalizer lists (PR #162743)

Deric C. via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 17 15:07:37 PDT 2025


================
@@ -205,8 +209,8 @@ class alignas(8) InitializedEntity {
     /// virtual base.
     llvm::PointerIntPair<const CXXBaseSpecifier *, 1> Base;
 
-    /// When Kind == EK_ArrayElement, EK_VectorElement, or
-    /// EK_ComplexElement, the index of the array or vector element being
+    /// When Kind == EK_ArrayElement, EK_VectorElement, or EK_MatrixElement,
----------------
Icohedron wrote:

nit: the word "or" appears twice
```suggestion
    /// When Kind == EK_ArrayElement, EK_VectorElement, EK_MatrixElement,
```


https://github.com/llvm/llvm-project/pull/162743


More information about the cfe-commits mailing list