blob: c072dd069e7479500694621c35088549b5381110 [file] [log] [blame]
.. title:: clang-tidy - llvmlibc-callee-namespace
Checks all calls resolve to functions within ``__llvm_libc`` namespace.
.. code-block:: c++
namespace __llvm_libc {
// Allow calls with the fully qualified name.
// Allow calls to compiler provided functions.
// Bare calls are allowed as long as they resolve to the correct namespace.
// Disallow calling into functions in the global namespace.
} // namespace __llvm_libc