[cmake] Enable Clang warnings about redundant semicolons
authorMartin Storsjö <martin@martin.st>
Fri, 19 Mar 2021 11:47:43 +0000 (13:47 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 19 Mar 2021 16:49:05 +0000 (18:49 +0200)
commitcfa65f77cbcd1185bdd3860ff326db37066a519a
treeb2e88ff7f0c04dafe680fa2815a59212fced97bd
parent87248e852b71396194e4bb4a893633a8c47ac1e0
[cmake] Enable Clang warnings about redundant semicolons

This matches what GCC warns about when -pedantic is enabled.

This should avoid such redundant semicolons creeping into the codebase.

Differential Revision: https://reviews.llvm.org/D98941
llvm/cmake/modules/HandleLLVMOptions.cmake