[PATCH] D151383: [clang-tidy] Check for specific return types on all functions
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 25 16:08:59 PDT 2023
Eugene.Zelenko added inline comments.
================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:394
+- Extend ``bugprone-unused-return-value`` check to check for all functions
+ with specified return types using the ``CheckedReturnTypes`` option.
----------------
Please keep alphabetical order in section (by check name).
================
Comment at: clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-return-value.rst:53
+ By default the following function return types are checked:
+ ``std::error_code std::expected boost::system::error_code abseil::Status``
+
----------------
Please use single back-tick for option values.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151383/new/
https://reviews.llvm.org/D151383
More information about the cfe-commits
mailing list