[clang] [llvm] [HLSL] Add load overload with status (PR #166449)

Joshua Batista via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 15:48:16 PST 2025


================
@@ -202,7 +202,7 @@ struct BuiltinTypeMethodBuilder {
   BuiltinTypeMethodBuilder &declareLocalVar(LocalVar &Var);
   template <typename... Ts>
   BuiltinTypeMethodBuilder &callBuiltin(StringRef BuiltinName,
-                                        QualType ReturnType, Ts... ArgSpecs);
+                                        QualType ReturnType, Ts &&...ArgSpecs);
----------------
bob80905 wrote:

This was originally needed to pass in a local variable to the callBuiltin function, but since your change no longer requires passing in a local variable, we don't need this change anymore.

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


More information about the llvm-commits mailing list