================ @@ -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`. ---------------- HerrCai0907 wrote:
Why "Default is `true`"? I think Default false will keep the same behavior as old version. 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