aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorMichael Jones <michaelrj@google.com>2021-11-15 15:03:30 -0800
committerMichael Jones <michaelrj@google.com>2021-11-30 11:44:24 -0800
commit155f5a6dac62a902a30f60e2717c4ba8fb828139 (patch)
treee559f9c68a81dbfd42d67ef52fee44bedaaa9366 /llvm/lib/Support/CommandLine.cpp
parenta2ce97cc3f99c8af80b2325acf03a4c171ffb48f (diff)
downloadllvm-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