carlosgalvezp wrote: > since we have already allow the to unsigned cast later
I'm not sure I follow, could you point me to an example of this? When implementing guidelines, we must make sure we implement exactly what the guidelines say, and not make them less restrictive (at least not by default). The user expectation is that a C++ Core Guideline check will implement just that, not something else. I cannot see anything in the C++ Core Guidelines that says narrowing is OK in C++20 (since information is still lost). https://github.com/llvm/llvm-project/pull/116591 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits