[PATCH] D44241: [clang-tidy] Add a check for constructing non-trivial types without assigning to a variable

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 8 03:16:06 PST 2018


JonasToth added a comment.

The check is related to: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#cp44-remember-to-name-your-lock_guards-and-unique_locks

If you want, you can add an alias into the `cppcoreguideline` module.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D44241





More information about the cfe-commits mailing list