diff options
author | Michael Jones <michaelrj@google.com> | 2021-11-15 15:03:30 -0800 |
---|---|---|
committer | Michael Jones <michaelrj@google.com> | 2021-11-30 11:44:24 -0800 |
commit | 155f5a6dac62a902a30f60e2717c4ba8fb828139 (patch) | |
tree | e559f9c68a81dbfd42d67ef52fee44bedaaa9366 /llvm/lib/Support/CommandLine.cpp | |
parent | a2ce97cc3f99c8af80b2325acf03a4c171ffb48f (diff) | |
download | llvm-155f5a6dac62a902a30f60e2717c4ba8fb828139.zip llvm-155f5a6dac62a902a30f60e2717c4ba8fb828139.tar.gz llvm-155f5a6dac62a902a30f60e2717c4ba8fb828139.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions