[PATCH] D41056: [clang-tidy] New check misc-uniqueptr-release-unused-retval

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 12 02:18:05 PST 2017


JonasToth added a comment.

> What do you think about making this check fully configurable through the check options? The options could list the functions to check. The documentation could suggest some candidate functions from std lib to configure checks for.

That sound reasonable. A similar approach has been used for `cppcoreguidelines-no-malloc` already.


Repository:
  rL LLVM

https://reviews.llvm.org/D41056





More information about the cfe-commits mailing list