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

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 10 06:06:03 PST 2018


Eugene.Zelenko added inline comments.


================
Comment at: docs/clang-tidy/checks/modernize-use-nodiscard.rst:37
+
+Specify a macro to use instead of ``[[nodiscard]]``. 
+This is useful when maintaining source code that needs to compile with a pre-C++17 compiler.
----------------
Specifies. Please wrap up to 80 characters.


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

https://reviews.llvm.org/D55433





More information about the cfe-commits mailing list