================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits