================ @@ -14,3 +14,11 @@ unrelated type ``Z``. This rule is part of the `Type safety (Type.2) <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Pro-type-downcast>`_ profile from the C++ Core Guidelines. + +Options +------- + +.. option:: StrictMode + + When set to `false`, no warnings are emitted for casts on non-polymorphic + types. Default is `true`. ---------------- PiotrZSL wrote:
StrictMode=true, result in more warnings being produced (this is current behavior). StickMode=false, will cause casts on non-polymorphic types to be ignored. https://github.com/llvm/llvm-project/pull/69529 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits