[clang] [libc] [llvm] [libc] Implement (v|f)printf on the GPU (PR #96369)

Michael Jones via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 10:45:13 PDT 2024


================
@@ -54,7 +54,8 @@ class MockArgList {
   }
 
   template <class T> LIBC_INLINE T next_var() {
-    ++arg_counter;
+    arg_counter =
----------------
michaelrj-google wrote:

I don't think anything directly depends on its output, but also the comments on it specifically say that it's for testing. Given how small `ArgList` is I'd rather have another copy than run into problems because a patch in the future didn't expect the testing version to be used in real code.

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


More information about the llvm-commits mailing list