[all-commits] [llvm/llvm-project] 40af06: [clang-tidy] Update UnusedReturnValueCheck types
Roy Jacobson via All-commits
all-commits at lists.llvm.org
Mon May 29 13:02:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 40af06ccc7bf9989b8deb410ed78a4795c22aa73
https://github.com/llvm/llvm-project/commit/40af06ccc7bf9989b8deb410ed78a4795c22aa73
Author: Roy Jacobson <roy at dragonflydb.io>
Date: 2023-05-29 (Mon, 29 May 2023)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
M clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-return-value.rst
Log Message:
-----------
[clang-tidy] Update UnusedReturnValueCheck types
Update the types for UnusedReturnValueCheck after D151383.
1. Add std::errc, std:error_condition
2. Remove `absl::Status` - it's marked as `[[nodiscard]]` anyway so it's redundant (and might create double warnings) to check it.
Reviewed By: PiotrZSL
Differential Revision: https://reviews.llvm.org/D151650
More information about the All-commits
mailing list