[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?

  rCTE Clang Tools Extra


More information about the cfe-commits mailing list