https://github.com/PiotrZSL closed
https://github.com/llvm/llvm-project/pull/66573
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/PiotrZSL updated
https://github.com/llvm/llvm-project/pull/66573
>From 2068098bb3a3e93150459f97f278209488d18943 Mon Sep 17 00:00:00 2001
From: Piotr Zegar
Date: Sat, 16 Sep 2023 08:46:02 +
Subject: [PATCH 1/3] [clang-tidy] Improve bugprone-unused-return-value
diagnostic
https://github.com/HerrCai0907 approved this pull request.
https://github.com/llvm/llvm-project/pull/66573
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -130,26 +130,35 @@
UnusedReturnValueCheck::UnusedReturnValueCheck(llvm::StringRef Name,
"::std::error_condition;"
"::std::errc;"
@@ -130,26 +130,35 @@
UnusedReturnValueCheck::UnusedReturnValueCheck(llvm::StringRef Name,
"::std::error_condition;"
"::std::errc;"
@@ -130,26 +130,35 @@
UnusedReturnValueCheck::UnusedReturnValueCheck(llvm::StringRef Name,
"::std::error_condition;"
"::std::errc;"
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Changes
Improve diagnostic message to be more straight forward, fix handling of
casting to non-void and add new option AllowCastToVoid to control casting
to void behavior.
Closes #66570
---
Patch is 23.93 KiB, truncated to 20.00 KiB below,
https://github.com/PiotrZSL created
https://github.com/llvm/llvm-project/pull/66573
Improve diagnostic message to be more straight forward, fix handling of
casting to non-void and add new option AllowCastToVoid to control casting
to void behavior.
Closes #66570
>From