doc: Clarify MacPorts clang-tidy installation

This commit is contained in:
Tom Henderson
2023-11-09 18:12:41 -08:00
parent 103ed635b3
commit 7e9596c23a

View File

@@ -76,6 +76,11 @@ Recommended
placed at ``/opt/homebrew/opt/llvm/bin/clang-tidy`` so you may need to add this path to your
``$PATH`` variable.
.. note::
Likewise, when using MacPorts, the ``clang-tidy`` and ``clang-format`` binaries will be
placed in ``/opt/local/libexec/llvm-XX/bin`` (where ``XX` is the installed version number
such as ``16``), so you will need to add this to your ``$PATH`` variable.
.. note::
For debugging, ``lldb`` is the default debugger for llvm. Memory checkers such as
Memory Graph exist for macOS, but the ns-3 team doesn't have experience with it as a