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

Michael Jones via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 25 10:28:07 PDT 2024


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

in that case it'd be better to create a new `ArgList` that is intended to count sizes instead of just modifying the one for testing.

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


More information about the cfe-commits mailing list