[clang] [clang-tools-extra] [libc] [libc][c11] implement ctime (PR #107285)
Зишан Мирза via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 5 11:34:32 PDT 2024
================
@@ -42,7 +42,7 @@ static StringRef getReplacementFor(StringRef FunctionName,
// Try to find a better replacement from Annex K first.
StringRef AnnexKReplacementFunction =
StringSwitch<StringRef>(FunctionName)
- .Cases("asctime", "asctime_r", "asctime_s")
+ .Cases("asctime", "asctime_r", "asctime_s", "ctime", "ctime_r")
----------------
zimirza wrote:
Sure, I have removed `ctime` and `ctime_r` and create a new issue for this: https://github.com/llvm/llvm-project/issues/107445
https://github.com/llvm/llvm-project/pull/107285
More information about the cfe-commits
mailing list