Skip to content

src: apply clang-tidy rule modernize-deprecated-headers

The rule link: https://clang.llvm.org/extra/clang-tidy/checks/modernize-deprecated-headers.html.

Summary

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.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading