Update the types for UnusedReturnValueCheck after D151383.
- Add std::errc, std:error_condition
- Remove absl::Status - it's marked as [[nodiscard]] anyway so it's redundant (and might create double warnings) to check it.
Paths
| Differential D151650
[clang-tidy] Update UnusedReturnValueCheck types ClosedPublic Authored by royjacobson on May 29 2023, 6:59 AM.
Details Summary Update the types for UnusedReturnValueCheck after D151383.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 29 2023, 10:38 AM This revision was landed with ongoing or failed builds.May 29 2023, 1:02 PM Closed by commit rG40af06ccc7bf: [clang-tidy] Update UnusedReturnValueCheck types (authored by royjacobson). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 526469 clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-return-value.rst
|
should be break into 2 lines, 80 characters limit per line.