Open Kojoley opened 3 years ago
It is not turned on. There's a spike of cases around void** types, which can probably be easily fixed by reordering dereferences. Other cases are harder to determine and will need a case-by-case analysis. Probably an involved cleanup.
Richard - did we ever roll this out at Google/get a sense of the amount of cleanup required for this in such a large codebase?
Extended Description
The message in commit https://github.com/llvm/llvm-project/commit/0dc3f8db1a10d534a8b562d3db727261aa18931a (from 2011) says:
but I couldn't find what happened after.
Some projects with the warning enabled: https://chromium.googlesource.com/angle/angle/+/458389f249b0b68f430d7fe954c21205d22cd33e/BUILD.gn#200 https://github.com/mysql/mysql-server/blob/beb865a960b9a8a16cf999c323e46c5b0c67f21f/cmake/maintainer.cmake#L108 https://github.com/OpenSpace/OpenSpace/blob/db472030de710180ff96c9c8c707c19ef3bcfe41/support/cmake/set_openspace_compile_settings.cmake#L155