[PATCH] D44241: Add a check for constructing non-trivial types without assigning to a variable
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 8 03:09:32 PST 2018
lebedev.ri added a comment.
I'd like to see some more tests
void valid() {
g(NonTrivial{}); // Should not warn
}
Have you already tried running it on some C++ codebase (llvm, qt, boost, ...) ?
What are the results?
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D44241
More information about the cfe-commits
mailing list