[clang] [HLSL][Matrix] introduce MatrixElementExpr as accessor and swizzle operator (PR #171225)

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 17 23:40:34 PST 2025


================
@@ -214,6 +214,10 @@ class SemaHLSL : public SemaBase {
   bool transformInitList(const InitializedEntity &Entity, InitListExpr *Init);
   bool handleInitialization(VarDecl *VDecl, Expr *&Init);
   void deduceAddressSpace(VarDecl *Decl);
+  QualType CheckMatrixComponent(Sema &S, QualType baseType, ExprValueKind &VK,
----------------
hekota wrote:

```suggestion
  QualType checkMatrixComponent(Sema &S, QualType BaseType, ExprValueKind &VK,
```
I know this file has both styles of naming, but the coding standards state that function names should be _camelCase_.

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


More information about the cfe-commits mailing list