[clang] [clang-tools-extra] [compiler-rt] [clang-tidy] add `ctime` and `localtime` to `clang-tidy` (PR #110366)

via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 30 07:38:42 PDT 2025


================
@@ -235,7 +237,8 @@ Changes in existing checks
 
 - Improved :doc:`bugprone-unsafe-functions
   <clang-tidy/checks/bugprone/unsafe-functions>` check to allow specifying
-  additional functions to match.
+  additional functions to match. Added `ctime` and `localtime`
+  to unsafe functions check in clang-tidy.
----------------
EugeneZelenko wrote:

```suggestion
  to unsafe functions list.
```

Entire section is about Clang-Tidy and this particular entry is about check.

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


More information about the cfe-commits mailing list