mizvekov wrote:

> Errr, not certain I agree with this -- that basically is "admit defeat and 
> stop aiming for const correctness."

Well, I am saying, add const to places we are pretty sure we will never change, 
and leave const out when in doubt.
Don't add const just because we don't need mutation today.

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

Reply via email to