A previous patch added -Wsuggest-override using a simple add_flag_if_supported(). This causes lots of warnings in LLVM when building with older GCC versions (< 9) which suggest adding override to functions that are only marked final. The current flags in both GCC >=9 and Clang accept plain final as equivalent to override final.
This patch adds logic to detect versions of -Wsuggest-override that warn on void foo() final and disables them to avoid warning spam in builds using older GCC's. This has the added minor benefit of getting rid of the useless C_SUPPORTS_SUGGEST_OVERRIDE_FLAG CMake cache variable which was set by add_flag_if_supported().
This comment isn't exactly right, the differentation is GCC 9.1 vs GCC9.2. So it should likely be (which means it is disabled for GCC < 9.2).
ADDITIONALLY, you have the word 'it' twice.