[all-commits] [llvm/llvm-project] 785b30: [clang-tidy] Check for specific return types on al...
NagaChaitanya Vellanki via All-commits
all-commits at lists.llvm.org
Fri May 26 14:10:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 785b30b8a33a394a677b1b8ce35c66ba482db169
https://github.com/llvm/llvm-project/commit/785b30b8a33a394a677b1b8ce35c66ba482db169
Author: NagaChaitanya Vellanki <pnagato at protonmail.com>
Date: 2023-05-26 (Fri, 26 May 2023)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-return-value.rst
M clang-tools-extra/test/clang-tidy/checkers/bugprone/unused-return-value.cpp
Log Message:
-----------
[clang-tidy] Check for specific return types on all functions
Extend the check to all functions with return types like
std::error_code, std::expected, boost::system::error_code, abseil::Status...
Resolves issue https://github.com/llvm/llvm-project/issues/62884
Reviewed By: PiotrZSL
Differential Revision: https://reviews.llvm.org/D151383
More information about the All-commits
mailing list