[PATCH] D55433: [clang-tidy] Adding a new modernize use nodiscard checker

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 15 05:02:36 PST 2018


MyDeveloperDay marked an inline comment as done.
MyDeveloperDay added inline comments.


================
Comment at: docs/clang-tidy/checks/modernize-use-nodiscard.rst:23
+Such functions have no means of altering any state or passing values other than
+via the return type. Unless the member functions are altering state via some external call (e.g. I/O).
+
----------------
noted > 80 char line will correct next patch


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55433/new/

https://reviews.llvm.org/D55433





More information about the cfe-commits mailing list