================
@@ -109,7 +109,7 @@ Options
 
   .. code-block:: c++
 
-    std::print("{} {}\n", static_cast<unsigned int>(i), static_cast<int>(u));
+    std::print("{} {}\n", static_cast<int>(u), static_cast<unsigned int>(i));
----------------
nicovank wrote:

The arguments shouldn't be swapped, I think the initial code block above must 
swap the `%d` and `%u` specifier for this example to make sense.

https://github.com/llvm/llvm-project/pull/108805
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to