With these changes, clang-pure builds with GHC 9.2.7 without warnings. I've still only tested it with LLVM 9, not any later versions.
This change is