llvm-project/clang-tools-extra/clang-tidy/llvmlibc
Michael Jones 155f5a6dac [libc][clang-tidy] fix namespace check for externals
Up until now, all references to `errno` were marked with `NOLINT`, since
it was technically calling an external function. This fixes the lint
rules so that `errno`, as well as `malloc`, `calloc`, `realloc`, and
`free` are all allowed to be called as external functions. All of the
relevant `NOLINT` comments have been removed, and the documentation has
been updated.

Reviewed By: sivachandra, lntue, aaron.ballman

Differential Revision: https://reviews.llvm.org/D113946
2021-11-30 11:44:24 -08:00
..
CMakeLists.txt [openmp] Add missing dependencies for OMP.h.inc after d90443b 2020-06-23 11:48:04 -04:00
CalleeNamespaceCheck.cpp [libc][clang-tidy] fix namespace check for externals 2021-11-30 11:44:24 -08:00
CalleeNamespaceCheck.h [clang-tidy] Add check callee-namespace. 2020-04-28 17:22:23 -07:00
ImplementationInNamespaceCheck.cpp [clang-tidy] Add check llvmlibc-implementation-in-namespace. 2020-04-06 10:49:49 -07:00
ImplementationInNamespaceCheck.h [clang-tidy] Add check llvmlibc-implementation-in-namespace. 2020-04-06 10:49:49 -07:00
LLVMLibcTidyModule.cpp [clang-tidy] Add check callee-namespace. 2020-04-28 17:22:23 -07:00
RestrictSystemLibcHeadersCheck.cpp [clang-tidy][NFC] Remove unnecessary includes throughout clang-tidy header files 2020-06-29 16:05:52 +01:00
RestrictSystemLibcHeadersCheck.h