[clang-tools-extra] [clang-tidy] modernize-use-std-print, format: Fix checks with Abseil functions (PR #142312)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 1 10:16:50 PDT 2025


================
@@ -9,15 +9,16 @@
 
 #include <cstdio>
 #include <string.h>
+#include <string>
 
 namespace absl
 {
 // Use const char * for the format since the real type is hard to mock up.
----------------
vbvictor wrote:

Unnecessary comment for now?

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


More information about the cfe-commits mailing list