[clang-tools-extra] [clang-tidy] Add check hicpp-ignored-remove-result (PR #73119)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 6 07:54:34 PST 2023
=?utf-8?q?Bj=C3=B6rn?= Svensson <bjorn.a.svensson at est.tech>,
=?utf-8?q?Bj=C3=B6rn?= Svensson <bjorn.a.svensson at est.tech>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/73119 at github.com>
================
@@ -28,10 +28,12 @@ class UnusedReturnValueCheck : public ClangTidyCheck {
return TK_IgnoreUnlessSpelledInSource;
}
-private:
+protected:
+ UnusedReturnValueCheck(StringRef Name, ClangTidyContext *Context,
+ std::string CheckedFunctions);
std::string CheckedFunctions;
----------------
PiotrZSL wrote:
make CheckedFunctions and CheckedReturnTypes private.
https://github.com/llvm/llvm-project/pull/73119
More information about the cfe-commits
mailing list