https://github.com/PiotrZSL requested changes to this pull request.
This shouldn't be default behavior. Add support for this behavior under dedicated option that need to be opt-in. For context, we had problem in our project with some other check recently. Simply check allowed to ignore return value by casting it to void, and developer added blindly that cast and hide an issue. There is nothing wrong with allowing to silent issues in other way than NOLINT, but that should be always put into configuration, so an default behavior would be an more safe one. 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