[PATCH] D44241: [clang-tidy] Add a check for constructing non-trivial types without assigning to a variable
Paul Fultz II via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 8 07:48:05 PST 2018
pfultz2 added a comment.
> How does this differ from misc-unused-raii?
Actually, I was unaware of this check. This seems like a better place to start. Whats missing from the misc-unused-raii is that it doesn't catch it when constructing with curly braces(ie `NonTrivial{}`). Let me work on updating that check instead.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D44241
More information about the cfe-commits
mailing list