[clang] [HLSL] Add bounds checks for the hlsl vector arguments and return types (PR #130724)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 11 12:07:41 PDT 2025


================
@@ -45,6 +45,10 @@ template <typename T> struct is_arithmetic {
   static const bool Value = __is_arithmetic(T);
 };
 
+template <typename T, int N>
+using HLSL_FIXED_VECTOR =
----------------
farzonl wrote:

I was using it like a Macro for creating the  vector type. 

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


More information about the cfe-commits mailing list