This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] [WIP] Checker for pointers-written-into and then not read from.
Needs ReviewPublic

Authored by george.karpenkov on Jul 5 2018, 2:45 PM.

Details

Reviewers
dcoughlin
NoQ
Summary

Emits a warning if a called function writes into a (heuristically determined) error out-parameter, and then the caller does not read from it.

Work-in-progress dump of the code I had previously written,
so that it does not get lost.

Diff Detail