MaskRay added a comment. -Wall enables -Wunused-but-set-variable, so the CMake change is not needed. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D107835/new/ https://reviews.llvm.org/D107835