mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
doc: clang scan-build
This commit is contained in:
@@ -8,7 +8,8 @@ low-risk/isolated tasks:
|
|||||||
|
|
||||||
- Merge a [Vim patch].
|
- Merge a [Vim patch].
|
||||||
- Try a [complexity:low] issue.
|
- Try a [complexity:low] issue.
|
||||||
- Fix bugs found by [clang-scan], [coverity](#coverity), and [PVS](#pvs-studio).
|
- Fix bugs found by [clang scan-build](#clang-scan-build),
|
||||||
|
[coverity](#coverity), and [PVS](#pvs-studio).
|
||||||
|
|
||||||
Developer guidelines
|
Developer guidelines
|
||||||
--------------------
|
--------------------
|
||||||
@@ -112,6 +113,15 @@ QuickBuild uses this invocation:
|
|||||||
VERBOSE=1 nvim unittest-prereqs functionaltest-prereqs
|
VERBOSE=1 nvim unittest-prereqs functionaltest-prereqs
|
||||||
|
|
||||||
|
|
||||||
|
### Clang scan-build
|
||||||
|
|
||||||
|
The auto-generated [clang-scan] report presents walk-throughs of bugs found by
|
||||||
|
Clang's [scan-build](https://clang-analyzer.llvm.org/scan-build.html) static
|
||||||
|
analyzer. To verify a fix locally, run `scan-build` like this:
|
||||||
|
|
||||||
|
rm -rf build/
|
||||||
|
scan-build --use-analyzer=/usr/bin/clang make
|
||||||
|
|
||||||
### Coverity
|
### Coverity
|
||||||
|
|
||||||
[Coverity](https://scan.coverity.com/projects/neovim-neovim) runs against the
|
[Coverity](https://scan.coverity.com/projects/neovim-neovim) runs against the
|
||||||
|
|||||||
Reference in New Issue
Block a user