[clang-tools-extra] [clang-tidy] Teach `modernize-deprecated-headers` about more no-op headers (PR #165674)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 2 14:37:36 PST 2025
================
@@ -3,12 +3,55 @@
modernize-deprecated-headers
============================
-Some headers from C library were deprecated in C++ and are no longer welcome in
-C++ codebases. Some have no effect in C++. For more details refer to the C++14
-Standard [depr.c.headers] section.
-
-This check replaces C standard library headers with their C++ alternatives and
-removes redundant ones.
----------------
vbvictor wrote:
Could we leave this as first sentence in docs? But remove "This check" in favor of "Replaces ..."
https://github.com/llvm/llvm-project/pull/165674
More information about the cfe-commits
mailing list