https://github.com/philnik777 commented:
Is this a good idea? This doesn't just add diagnostics, but also makes it UB to pass a nullptr to these functions. What do actual libc implementations do when they are passed a nullptr? Do any of them define that behaviour? https://github.com/llvm/llvm-project/pull/158626 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
