[clang-tools-extra] [clang-tidy] Add check hicpp-ignored-remove-result (PR #73119)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 23 02:01:50 PST 2023


=?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>


================
@@ -41,6 +42,15 @@
 #include "NoAssemblerCheck.h"
 #include "SignedBitwiseCheck.h"
 
+namespace {
+
+// Checked functions for hicpp-ignored-remove-result.
+const llvm::StringRef CheckedFunctions = "::std::remove;"
----------------
PiotrZSL wrote:

mvoe this to getModuleOptions

https://github.com/llvm/llvm-project/pull/73119


More information about the cfe-commits mailing list