Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Several clang-analyzer-cplusplus checks are not documentated #47306

Open Quuxplusone opened 3 years ago

Quuxplusone commented 3 years ago
Bugzilla Link PR48338
Status NEW
Importance P enhancement
Reported by oliverst@online.de
Reported on 2020-11-30 07:43:55 -0800
Last modified on 2020-12-01 03:21:25 -0800
Version unspecified
Hardware PC Windows NT
CC alexfh@google.com, djasper@google.com, klimek@google.com
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also
There are several clang-analyzer-cplusplus checks missing on
https://clang.llvm.org/extra/clang-tidy/checks/list.html

I haven't checked the source but just from the ones I encountered it's at least:

clang-analyzer-cplusplus.NewDelete
clang-analyzer-cplusplus.NewDeleteLeaks
clang-analyzer-cplusplus.PlacementNew
Quuxplusone commented 3 years ago

I found the documentation under the static analyzer - https://clang.llvm.org/docs/analyzer/checkers.html. Still seems incomplete since I don't see clang-analyzer-cplusplus.PlacementNew in the list. The existing one with similar name seems to be a different check since the missing one is about alignment.

Quuxplusone commented 3 years ago

The official clang analyzer documentation on the web page is also missing checks: http://clang-analyzer.llvm.org/available_checks.html