[clang] Enable matrices in HLSL (PR #111415)

Florian Hahn via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 3 08:01:12 PST 2024


================
@@ -2447,7 +2447,7 @@ QualType Sema::BuildExtVectorType(QualType T, Expr *ArraySize,
 
 QualType Sema::BuildMatrixType(QualType ElementTy, Expr *NumRows, Expr *NumCols,
                                SourceLocation AttrLoc) {
-  assert(Context.getLangOpts().MatrixTypes &&
+  assert(getLangOpts().MatrixTypes &&
----------------
fhahn wrote:

unrelated?

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


More information about the cfe-commits mailing list