================
@@ -109,6 +109,16 @@ class HICPPModule : public ClangTidyModule {
     CheckFactories.registerCheck<cppcoreguidelines::ProTypeVarargCheck>(
         "hicpp-vararg");
   }
+
+  ClangTidyOptions getModuleOptions() override {
+    ClangTidyOptions Options;
+    ClangTidyOptions::OptionMap &Opts = Options.CheckOptions;
+    Opts["hicpp-ignored-remove-result.CheckedFunctions"] =
+        "::std::remove$;::std::remove_if$;::std::unique$";
----------------
IamYJLee wrote:

> Nit: Could we follow the same regex used in `cert`?

I have updated it with reference to 
[CertErr33](https://github.com/llvm/llvm-project/pull/99380).

https://github.com/llvm/llvm-project/pull/184547
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to