diff options
author | Max Kellermann <max@musicpd.org> | 2019-05-31 16:27:43 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-05-31 16:27:43 +0200 |
commit | fb6cb07912542e2f4998d24bce57b912b867aafa (patch) | |
tree | 0d2eee184a8937a96e4d33762a1b07e9e950e161 | |
parent | e9e0e02db3842ec45a6b52ae8dcea16676285373 (diff) |
doc/developer.rst: remove outdated section about the clang static analyzer
-rw-r--r-- | doc/developer.rst | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/doc/developer.rst b/doc/developer.rst index 630ca3399..de761541a 100644 --- a/doc/developer.rst +++ b/doc/developer.rst @@ -98,29 +98,3 @@ Submitting Patches Submit pull requests on GitHub: https://github.com/MusicPlayerDaemon/MPD/pulls - -Development Tools -================= - -Clang Static Analyzer ---------------------- - - The `static analyzer <http://clang-analyzer.llvm.org/>`_ is a tool that helps find bugs. To run it on the MPD code base, install LLVM and clang. configure MPD to use clang: - -.. code-block:: sh - - ./configure --enable-debug CXX=clang++ CC=clang ... - -It is recommended to use :code:`--enable-debug`, because the analyzer -takes advantage of :dfn:`assert()` calls, which are only enabled in -the debug build. - -Now run the analyzer: - -.. code-block:: sh - - scan-build --use-c++=clang++ --use-cc=clang make - -The options :code:`--use-c++` and :code:`--use-cc` are necessary -because it invokes :command:`cc` for actually compiling the sources by -default. That breaks, because MPD requires a C99 compiler. |