Issue 140515
Summary [clang-tidy] concurrency-mt-unsafe should not flag strerror
Labels clang-tidy
Assignees
Reporter carlosgalvezp
    The docs of the check state:

> Glibc’s list is compiled from GNU web documentation with a search for MT-Safe tag

And `strerror` fulfills exactly that: https://www.gnu.org/software/libc/manual/html_node/Error-Messages.html

> Function: char * strerror (int errnum)
Preliminary: | MT-Safe | AS-Unsafe heap i18n | AC-Unsafe mem | See [POSIX Safety Concepts](https://www.gnu.org/software/libc/manual/html_node/POSIX-Safety-Concepts.html).

So `concurrency-mt-unsafe` should not flag it.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to