================ @@ -38,3 +38,12 @@ Example: This check implements `F.19 <http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rf-forward>`_ from the C++ Core Guidelines. + +Options +------- + +.. option:: IgnoreStaticCasts + + Boolean flag to allow users who want to use the forwarding reference as an + lvalue reference to convey he intention by using ``static_cast<T&>(t)`` to + disable warning. Default value is `false`. ---------------- 5chmidti wrote:
`to convey the intention` + `, disabling the warning` 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