[clang] Split -Wcast-function-type into a separate group (PR #86131)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 22 04:44:50 PDT 2024


AaronBallman wrote:

> @AaronBallman @amy-kwan I am working on a patch for this build breaking in https://lab.llvm.org/buildbot/#/builders/57/builds/33656. Is there anything else I should also be considering?

Thank you for working on the patch! I would change the definition of `MallocStress()` in `asan_noinst_test.cpp` to accept a `void *` as expected by `pthread_create()`, then remove the cast in `ThreadedMallocStressTest` and add a cast for the call in `NoInstMallocTest`.

https://github.com/llvm/llvm-project/pull/86131


More information about the cfe-commits mailing list