[clang-tools-extra] [clang-tidy] Add modernize-use-std-format check (PR #90397)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 28 08:39:11 PDT 2024


================
@@ -0,0 +1,48 @@
+//===--- UseStdFormatCheck.h - clang-tidy -----------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_MODERNIZE_USESTDFORMATCHECK_H
+#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_MODERNIZE_USESTDFORMATCHECK_H
+
+#include "../ClangTidyCheck.h"
+#include "../utils/IncludeInserter.h"
+
+namespace clang::tidy::modernize {
+
+/// Convert calls to absl::StrFormat-like functions to std::format.
----------------
PiotrZSL wrote:

synchronize with release notes

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


More information about the cfe-commits mailing list