[PATCH] D151650: [clang-tidy] Update UnusedReturnValueCheck types
Roy Jacobson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 29 07:00:48 PDT 2023
royjacobson updated this revision to Diff 526440.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151650/new/
https://reviews.llvm.org/D151650
Files:
clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
Index: clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
===================================================================
--- clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
+++ clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
@@ -127,9 +127,10 @@
"::ttyname")),
CheckedReturnTypes(utils::options::parseStringList(
Options.get("CheckedReturnTypes", "::std::error_code;"
+ "::std::error_condition;"
+ "::std::errc;"
"::std::expected;"
- "::boost::system::error_code;"
- "::abseil::Status"))) {}
+ "::boost::system::error_code"))) {}
void UnusedReturnValueCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {
Options.store(Opts, "CheckedFunctions", CheckedFunctions);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151650.526440.patch
Type: text/x-patch
Size: 1041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230529/b7806470/attachment.bin>
More information about the cfe-commits
mailing list