[PATCH] D149280: [clang-tidy] Add modernize-printf-to-std-print check

Piotr Zegar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 25 12:43:25 PDT 2023


PiotrZSL reopened this revision.
PiotrZSL added a comment.
This revision is now accepted and ready to land.

@thakis Thank you.



================
Comment at: clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-print.cpp:9-15
+#include <cstddef>
+#include <cstdint>
+#include <cstdio>
+// CHECK-FIXES: #include <print>
+#include <inttypes.h>
+#include <string.h>
+#include <string>
----------------
Those includes need to be removed. We cannot use system includes, some dummy one can be used only.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149280/new/

https://reviews.llvm.org/D149280



More information about the cfe-commits mailing list