llvm-project/clang-tools-extra/clang-tidy/llvmlibc
Paula Toth 8683f5de53 [clang-tidy] Add check callee-namespace.
Summary:
This check will ensure that all calls to functions resolve to one inside the `__llvm_libc` namespace.

This is done to ensure that if we include a public header then we don't accidentally call into the a function within the global namespace.

Reviewers: aaron.ballman, njames93

Reviewed By: aaron.ballman

Subscribers: Eugene.Zelenko, mgorny, xazax.hun, cfe-commits, sivachandra

Tags: #clang-tools-extra, #libc-project, #clang

Differential Revision: https://reviews.llvm.org/D78890
2020-04-28 17:22:23 -07:00
..
CMakeLists.txt [clang-tidy] Add check callee-namespace. 2020-04-28 17:22:23 -07:00
CalleeNamespaceCheck.cpp [clang-tidy] Add check callee-namespace. 2020-04-28 17:22:23 -07: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
RestrictSystemLibcHeadersCheck.h