[clang-tools-extra] [clang-tidy] modernize-use-std-print, format: Fix checks with Abseil functions (PR #142312)
Mike Crowe via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 1 10:22:52 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.
----------------
mikecrowe wrote:
It should really say `std::string_view`, but the same is true in other files which lack the comment, so I might as well remove it as you suggest.
https://github.com/llvm/llvm-project/pull/142312
More information about the cfe-commits
mailing list