diff --git a/libc/docs/clang_tidy_checks.rst b/libc/docs/clang_tidy_checks.rst --- a/libc/docs/clang_tidy_checks.rst +++ b/libc/docs/clang_tidy_checks.rst @@ -14,8 +14,14 @@ standard outlines function prototypes and behaviors but doesn’t define underlying implementation details such as the layout of a struct. -This check prevents accidental inclusion of system libc headers when writing a -libc implementation. +Extra + +To + +Visualize + +This check prevents accidental inclusion of system libc headers when writing an +llvm-libc implementation. .. code-block:: c++ @@ -67,6 +73,8 @@ This check ensures any function call resolves to a function within the __llvm_libc namespace. +To + .. code-block:: c++ namespace __llvm_libc {