mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
cmake: Improve unreachable-code warnings
Enable CI to report -Wunreachable-code-aggressive warnings in clang builds which covers all, -Wunreachable-code, -code-break, -code-return.
This commit is contained in:
parent
aad926baf8
commit
897fe2a01b
@ -83,7 +83,7 @@ function(add_warnings_to_targets targets)
|
||||
"-Wundef"
|
||||
"-Wuninitialized"
|
||||
"-Wunneeded-internal-declaration"
|
||||
"-Wunreachable-code"
|
||||
"-Wunreachable-code-aggressive"
|
||||
"-Wunused"
|
||||
"-Wunused-function"
|
||||
"-Wunused-parameter"
|
||||
|
Loading…
Reference in New Issue
Block a user