================
@@ -86,6 +88,15 @@ AST_MATCHER(VarDecl, hasIdentifier) {
 
 } // namespace
 
+MissingStdForwardCheck::MissingStdForwardCheck(StringRef Name,
+                                               ClangTidyContext *Context)
+    : ClangTidyCheck(Name, Context),
+      IgnoreStaticCasts(Options.get("IgnoreStaticCasts", false)) {}
----------------
5chmidti wrote:

The option name sounds too generic, and suggests that users can then use any 
static cast without a diagnostic being generated. Maybe 
`IgnoreStaticCastToLValueReference` (or something else)

https://github.com/llvm/llvm-project/pull/99477
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to