diff options
author | Carlos Galvez <carlosgalvezp@gmail.com> | 2025-05-19 21:27:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-19 21:27:37 +0200 |
commit | 322d0197f5c5d4cf3a6bb2d86a0112788fd6c529 (patch) | |
tree | e4868ea7e8effeb059e0ab4db866c9f196f56613 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 29fd76777d786ac25fef6b15c99f28c709091eb3 (diff) | |
download | llvm-322d0197f5c5d4cf3a6bb2d86a0112788fd6c529.zip llvm-322d0197f5c5d4cf3a6bb2d86a0112788fd6c529.tar.gz llvm-322d0197f5c5d4cf3a6bb2d86a0112788fd6c529.tar.bz2 |
[clang-tidy] Do not flag strerror in concurrency-mt-unsafe (#140520)
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.
So concurrency-mt-unsafe should not flag it.
Fixes #140515
---------
Co-authored-by: Carlos Gálvez <carlos.galvez@zenseact.com>
Co-authored-by: EugeneZelenko <eugene.zelenko@gmail.com>
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions