Issue 64614
Summary Missing documentation for some Clang Static Analyzer checks
Labels documentation, clang:static analyzer
Assignees
Reporter PiotrZSL
    In file `clang/include/clang/StaticAnalyzer/Checkers/Checkers.td` following checks are listed, but no such documentation exists in `clang/docs/analyzer/checkers.rst`:

- cplusplus.Move
- cplusplus.PlacementNew (invalid name in documentation, see: https://reviews.llvm.org/D157702)
- cplusplus.PureVirtualCall
- optin.osx.OSObjectCStyleCast (marked as NotDocumented)
- osx.MIG (marked as NotDocumented)
- osx.OSObjectRetainCount  (marked as NotDocumented)
- security.insecureAPI.decodeValueOfObjCType
- valist.CopyToSelf
- valist.Uninitialized
- valist.Unterminated

Looks like property Documentation cannot be trusted, as there are checks marked as HasDocumentation without documentation, and those marked as NotDocumented with documentation (osx.ObjCProperty for example).

`clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py` should be executed after adding documentation to update aliases on Clang-tidy side.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to